variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: dew_point | code: gst | fields: depth, ts, qc, lon
Sensor: uv_index | fields: type, lon, depth, qc
Task: Fetch reading from dew_point that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067900 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, qc, value, ts
Sensor: cloud_cover | fields: ts, value, unit, level
Task: Fetch lon from soil_moisture that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067901 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, depth, reading, unit
Sensor: lightning | fields: lat, unit, ts, lon
Task: Fetch value from soil_moisture where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067902 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, value, qc, lat
Sensor: visibility | fields: unit, lon, depth, qc
Task: Fetch value from soil_moisture where unit exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067903 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, depth, reading, type
Sensor: humidity | fields: ts, type, lat, lon
Task: Get value from snow_depth where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067904 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, lat, value, reading
Sensor: sunlight | fields: reading, lat, level, depth
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067905 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: reading, type, ts, depth
Sensor: wind_speed | fields: value, reading, unit, depth
Task: Get lat from temperature where reading exceeds the minimum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067906 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: depth, qc, value, type
Sensor: soil_moisture | fields: lat, type, level, reading
Task: Retrieve value from uv_index with depth above the MIN(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067907 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: depth, unit, type, lat
Sensor: temperature | fields: level, qc, lon, reading
Task: Fetch reading from uv_index where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067908 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, depth, lon
Sensor: lightning | fields: level, lat, depth, value
Task: Fetch reading from uv_index that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067909 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, lon, level, type
Sensor: rainfall | fields: lon, qc, unit, lat
Task: Fetch level from uv_index that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067910 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: value, qc, level, ts
Sensor: air_quality | fields: depth, level, ts, value
Task: Get lat from dew_point where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067911 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, ts, lat, depth
Sensor: wind_speed | fields: lon, ts, level, unit
Task: Fetch reading from lightning where depth is greater than the minimum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067912 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, level, depth, ts
Sensor: pressure | fields: depth, level, lat, ts
Task: Retrieve depth from frost with reading above the COUNT(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067913 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: level, value, depth, lat
Sensor: pressure | fields: lat, value, level, type
Task: Get reading from frost where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067914 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lon, value, reading
Sensor: turbidity | fields: ts, value, unit, qc
Task: Retrieve value from cloud_cover whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067915 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, reading, type, value
Sensor: evaporation | fields: value, level, reading, qc
Task: Fetch lat from air_quality where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067916 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, reading, ts, depth
Sensor: rainfall | fields: qc, ts, depth, unit
Task: Retrieve level from wind_speed that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067917 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, type, lat, level
Sensor: humidity | fields: lon, lat, reading, ts
Task: Retrieve depth from evaporation with depth above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067918 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, lon, unit, qc
Sensor: dew_point | fields: qc, value, type, level
Task: Fetch reading from evaporation where value is greater than the minimum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067919 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, lat, reading, type
Sensor: rainfall | fields: reading, depth, lon, value
Task: Fetch level from drought_index that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067920 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, qc, reading, depth
Sensor: dew_point | fields: depth, qc, lon, type
Task: Get lon from soil_moisture where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067921 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, unit, level, depth
Sensor: sunlight | fields: reading, lon, depth, ts
Task: Retrieve depth from temperature whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067922 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: unit, lat, value, ts
Sensor: pressure | fields: reading, lon, type, depth
Task: Get lon from drought_index where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067923 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: reading, type, depth, level
Sensor: rainfall | fields: unit, value, lat, depth
Task: Fetch value from turbidity where reading is greater than the maximum of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067924 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, lat, level, reading
Sensor: sunlight | fields: value, qc, reading, lat
Task: Retrieve reading from humidity whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067925 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, ts, lat, level
Sensor: visibility | fields: value, reading, depth, type
Task: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067926 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: depth, type, lon, level
Sensor: air_quality | fields: ts, level, lon, depth
Task: Get lat from evaporation where depth exceeds the maximum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067927 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, level, reading, lat
Sensor: temperature | fields: qc, lat, level, type
Task: Fetch reading from cloud_cover that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067928 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, lon, value, depth
Sensor: snow_depth | fields: value, qc, level, lat
Task: Fetch lon from air_quality that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067929 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lat, lon, depth, value
Sensor: soil_moisture | fields: reading, lon, ts, lat
Task: Retrieve lat from drought_index with depth above the MAX(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067930 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lon, unit, level
Sensor: cloud_cover | fields: depth, value, ts, unit
Task: Retrieve depth from wind_speed whose unit is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067931 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, reading, unit, qc
Sensor: air_quality | fields: lon, qc, unit, type
Task: Fetch level from snow_depth where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067932 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, value, reading
Sensor: frost | fields: reading, qc, level, unit
Task: Retrieve value from cloud_cover whose qc is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067933 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, type, unit, lat
Sensor: uv_index | fields: lat, type, reading, value
Task: Retrieve value from drought_index with value above the MAX(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067934 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lat, ts, lon, value
Sensor: drought_index | fields: value, type, qc, depth
Task: Retrieve level from sunlight that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067935 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, type, depth, ts
Sensor: uv_index | fields: reading, ts, depth, level
Task: Retrieve lat from frost with value above the MAX(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067936 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lon, reading, ts, unit
Sensor: cloud_cover | fields: depth, value, type, lon
Task: Retrieve reading from sunlight whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067937 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, lon, value, reading
Sensor: evaporation | fields: value, level, ts, reading
Task: Get value from drought_index where reading exceeds the count of reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067938 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, value, level, depth
Sensor: soil_moisture | fields: qc, level, unit, depth
Task: Get lat from visibility where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067939 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: value, reading, depth, unit
Sensor: visibility | fields: depth, type, unit, lon
Task: Retrieve lat from uv_index whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067940 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, unit, ts, qc
Sensor: pressure | fields: qc, value, unit, reading
Task: Retrieve reading from uv_index whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067941 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: qc, lat, reading, value
Sensor: humidity | fields: unit, level, depth, qc
Task: Retrieve level from turbidity with reading above the MIN(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067942 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, level, type, ts
Sensor: snow_depth | fields: type, lon, unit, value
Task: Fetch lat from pressure where value is greater than the total of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067943 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, lon, value, unit
Sensor: wind_speed | fields: depth, level, type, value
Task: Get depth from frost where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067944 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, depth, ts, lon
Sensor: pressure | fields: lon, unit, reading, type
Task: Get level from drought_index where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067945 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, qc, unit, type
Sensor: uv_index | fields: level, reading, depth, unit
Task: Fetch level from drought_index where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067946 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, unit, ts, lon
Sensor: temperature | fields: unit, depth, reading, ts
Task: Retrieve reading from uv_index that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067947 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, type, unit, value
Sensor: dew_point | fields: qc, type, ts, level
Task: Retrieve lat from cloud_cover with value above the COUNT(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067948 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lon, type, value
Sensor: sunlight | fields: level, depth, ts, value
Task: Get lon from air_quality where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067949 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, unit, value, lon
Sensor: air_quality | fields: lon, ts, lat, value
Task: Fetch depth from rainfall where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067950 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, level, value, type
Sensor: wind_speed | fields: unit, lon, qc, reading
Task: Fetch value from cloud_cover that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"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_067951 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: value, reading, depth, ts
Sensor: frost | fields: depth, qc, unit, type
Task: Retrieve reading from snow_depth whose type is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067952 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: depth, ts, lon, type
Sensor: temperature | fields: reading, unit, depth, qc
Task: Retrieve lat from air_quality whose depth is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067953 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lon, depth, level, ts
Sensor: dew_point | fields: value, qc, level, lon
Task: Fetch reading from evaporation where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067954 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, type, lat
Sensor: soil_moisture | fields: depth, lat, qc, value
Task: Retrieve value from rainfall with reading above the SUM(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067955 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, unit, qc, value
Sensor: frost | fields: value, reading, type, depth
Task: Fetch lon from turbidity that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067956 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, ts, unit, type
Sensor: soil_moisture | fields: qc, lat, depth, reading
Task: Retrieve lat from lightning whose type is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067957 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, lat, type, depth
Sensor: wind_speed | fields: level, qc, lat, unit
Task: Fetch depth from lightning where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067958 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: reading, lon, lat, unit
Sensor: soil_moisture | fields: level, value, reading, ts
Task: Get lat from temperature where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067959 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, value, lon, level
Sensor: temperature | fields: lat, level, unit, depth
Task: Get value from visibility where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067960 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, qc, lon, level
Sensor: turbidity | fields: reading, ts, lat, depth
Task: Fetch depth from snow_depth where value is greater than the count of of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067961 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: type, lat, unit, level
Sensor: drought_index | fields: depth, ts, lon, qc
Task: Get value from evaporation where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067962 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, lat, unit, level
Sensor: sunlight | fields: unit, depth, level, lat
Task: Retrieve value from turbidity whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067963 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: depth, qc, reading, lon
Sensor: soil_moisture | fields: type, lat, unit, level
Task: Fetch value from temperature that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067964 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, value, unit, depth
Sensor: wind_speed | fields: reading, type, qc, lat
Task: Retrieve value from humidity whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067965 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lat, value, type
Sensor: drought_index | fields: ts, unit, value, lon
Task: Get lon from evaporation where value exceeds the average depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067966 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, level, unit, ts
Sensor: sunlight | fields: lon, reading, level, ts
Task: Get reading from visibility where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067967 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, reading, lon, value
Sensor: lightning | fields: ts, depth, qc, unit
Task: Fetch level from snow_depth that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067968 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, level, lat, value
Sensor: drought_index | fields: level, type, value, depth
Task: Fetch level from pressure where value is greater than the total of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067969 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: qc, value, type, reading
Sensor: pressure | fields: lat, ts, depth, unit
Task: Fetch value from rainfall where reading is greater than the average of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067970 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, unit, lat
Sensor: soil_moisture | fields: level, unit, lon, qc
Task: Retrieve lat from rainfall that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067971 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, type, lon, level
Sensor: frost | fields: qc, lon, reading, ts
Task: Get lat from soil_moisture where depth exceeds the average depth from frost for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067972 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lat, qc, reading, value
Sensor: dew_point | fields: ts, depth, type, qc
Task: Get reading from evaporation where depth exceeds the minimum depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067973 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: reading, type, level, depth
Sensor: snow_depth | fields: unit, depth, lon, ts
Task: Get lat from drought_index where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067974 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, depth, level, reading
Sensor: wind_speed | fields: depth, level, qc, ts
Task: Get lon from visibility where reading exceeds the maximum value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067975 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, level, unit, lon
Sensor: dew_point | fields: qc, depth, reading, level
Task: Get value from drought_index where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067976 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, unit, lat, lon
Sensor: drought_index | fields: reading, unit, depth, lat
Task: Retrieve reading from snow_depth whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067977 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: level, lon, type, value
Sensor: cloud_cover | fields: level, reading, ts, type
Task: Retrieve value from evaporation whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067978 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, type, value, lon
Sensor: sunlight | fields: ts, qc, lon, lat
Task: Get value from pressure where value exceeds the count of depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067979 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: qc, type, level, ts
Sensor: wind_speed | fields: unit, value, reading, level
Task: Get reading from evaporation where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067980 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, depth, value, unit
Sensor: frost | fields: lat, type, level, ts
Task: Fetch lon from rainfall where reading is greater than the average of value in frost for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067981 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, type, ts, qc
Sensor: turbidity | fields: depth, ts, qc, level
Task: Fetch value from sunlight that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067982 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: ts, depth, qc, reading
Sensor: frost | fields: depth, unit, level, type
Task: Retrieve value from air_quality with reading above the AVG(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067983 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, value, level, lat
Sensor: turbidity | fields: reading, ts, qc, type
Task: Get depth from visibility where depth exceeds the maximum value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067984 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, ts, reading, qc
Sensor: turbidity | fields: unit, type, ts, level
Task: Retrieve value from lightning that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067985 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: ts, lat, type, lon
Sensor: humidity | fields: level, value, ts, unit
Task: Retrieve reading from dew_point that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067986 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lon, depth, qc
Sensor: evaporation | fields: reading, qc, lat, lon
Task: Retrieve reading from snow_depth with depth above the SUM(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067987 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, qc, depth, lon
Sensor: lightning | fields: qc, level, value, lon
Task: Retrieve value from soil_moisture with depth above the AVG(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067988 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, lon, qc, reading
Sensor: uv_index | fields: value, lat, ts, type
Task: Fetch level from frost where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067989 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, unit, ts, qc
Sensor: turbidity | fields: unit, reading, depth, ts
Task: Get value from drought_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067990 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: reading, qc, type, level
Sensor: rainfall | fields: lon, type, unit, level
Task: Retrieve lon from turbidity whose type is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067991 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, lon, depth, ts
Sensor: humidity | fields: unit, ts, level, reading
Task: Fetch value from uv_index where depth is greater than the minimum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067992 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, level, reading, type
Sensor: drought_index | fields: level, depth, lon, lat
Task: Retrieve lat from humidity with depth above the AVG(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067993 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, lat, reading, lon
Sensor: uv_index | fields: ts, level, value, depth
Task: Retrieve lat from turbidity whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067994 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: reading, level, ts, unit
Sensor: snow_depth | fields: ts, unit, qc, depth
Task: Get lat from lightning where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067995 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: depth, unit, level, value
Sensor: air_quality | fields: level, qc, type, reading
Task: Fetch value from drought_index where reading is greater than the count of of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067996 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, level, type, unit
Sensor: turbidity | fields: value, depth, unit, level
Task: Retrieve value from humidity whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067997 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lon, unit, value, lat
Sensor: cloud_cover | fields: level, lat, lon, qc
Task: Retrieve level from rainfall that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067998 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, level, depth, value
Sensor: evaporation | fields: level, unit, depth, lon
Task: Fetch level from humidity that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.