variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, ts, type, lat
Sensor: snow_depth | fields: reading, type, depth, unit
Task: Fetch lat from sunlight where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049900 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, qc, type, unit
Sensor: evaporation | fields: qc, unit, type, level
Task: Retrieve level from rainfall whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049901 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, depth, unit, ts
Sensor: wind_speed | fields: depth, level, reading, lat
Task: Retrieve reading from humidity that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049902 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: ts, depth, reading, level
Sensor: wind_speed | fields: lon, ts, depth, lat
Task: Get value from dew_point where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049903 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: type, value, reading, depth
Sensor: temperature | fields: lat, ts, value, qc
Task: Fetch reading from drought_index where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049904 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, depth, qc, level
Sensor: drought_index | fields: depth, reading, lat, unit
Task: Get lon from sunlight where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049905 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, unit, depth, value
Sensor: snow_depth | fields: level, reading, qc, depth
Task: Fetch value from sunlight that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049906 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lat, depth, type
Sensor: wind_speed | fields: qc, level, lon, type
Task: Get level from drought_index where depth exceeds the maximum depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049907 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lon, reading, lat, value
Sensor: cloud_cover | fields: qc, value, depth, level
Task: Get lat from visibility where unit appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049908 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, qc, level, ts
Sensor: uv_index | fields: reading, ts, unit, lon
Task: Fetch value from humidity where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049909 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, ts, qc, depth
Sensor: temperature | fields: unit, reading, depth, type
Task: Get value from pressure where reading exceeds the total value from temperature for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049910 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lat, value, type, ts
Sensor: cloud_cover | fields: depth, value, level, lon
Task: Retrieve reading from rainfall whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049911 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, qc, value, depth
Sensor: humidity | fields: lon, type, qc, level
Task: Retrieve depth from uv_index that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049912 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, type, qc, value
Sensor: air_quality | fields: qc, lon, depth, level
Task: Retrieve depth from visibility with depth above the AVG(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049913 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, type, lon, lat
Sensor: wind_speed | fields: ts, unit, lat, lon
Task: Retrieve lat from air_quality whose type is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049914 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, type, ts, depth
Sensor: visibility | fields: lon, value, type, qc
Task: Fetch depth from cloud_cover where qc exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049915 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, value, qc, type
Sensor: frost | fields: reading, depth, value, type
Task: Get reading from air_quality where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049916 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, value, type, unit
Sensor: pressure | fields: lon, unit, reading, lat
Task: Fetch value from turbidity that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049917 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: unit, qc, value, depth
Sensor: cloud_cover | fields: qc, reading, depth, level
Task: Fetch depth from pressure where reading is greater than the maximum of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049918 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, lon, value, unit
Sensor: humidity | fields: value, lon, type, level
Task: Retrieve lon from cloud_cover with reading above the COUNT(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"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_049919 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, lat, ts, lon
Sensor: turbidity | fields: lat, reading, lon, level
Task: Retrieve lat from air_quality whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049920 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, lon, reading, level
Sensor: humidity | fields: qc, type, reading, lat
Task: Retrieve level from lightning that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049921 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lon, ts, depth, level
Sensor: evaporation | fields: reading, lon, lat, depth
Task: Fetch depth from uv_index where ts exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049922 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: depth, value, type, lon
Sensor: soil_moisture | fields: lon, ts, lat, level
Task: Get lon from sunlight where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049923 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, reading, type, value
Sensor: sunlight | fields: ts, reading, lat, type
Task: Retrieve lat from drought_index whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049924 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, value, qc, lon
Sensor: evaporation | fields: qc, level, type, depth
Task: Fetch reading from snow_depth where reading is greater than the average of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049925 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: unit, reading, qc, ts
Sensor: snow_depth | fields: lat, ts, unit, lon
Task: Retrieve value from evaporation whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049926 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, lon, reading, depth
Sensor: soil_moisture | fields: ts, level, value, depth
Task: Fetch lat from visibility where value is greater than the average of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049927 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, qc, lon, reading
Sensor: evaporation | fields: lat, reading, depth, lon
Task: Retrieve lon from wind_speed with depth above the SUM(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049928 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, unit, lon, qc
Sensor: sunlight | fields: reading, lon, value, level
Task: Fetch value from pressure where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049929 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, ts, lon, qc
Sensor: visibility | fields: depth, lon, lat, qc
Task: Retrieve level from evaporation whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049930 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: level, lat, value, reading
Sensor: dew_point | fields: lat, value, reading, qc
Task: Retrieve value from humidity whose unit is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049931 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, type, lat, value
Sensor: snow_depth | fields: reading, ts, unit, level
Task: Retrieve lat from drought_index that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049932 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lon, value, reading, depth
Sensor: rainfall | fields: type, depth, level, lon
Task: Retrieve lon from frost with value above the MIN(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049933 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lat, level, reading, unit
Sensor: pressure | fields: lat, reading, type, qc
Task: Retrieve depth from turbidity with depth above the AVG(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049934 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, ts, lat, unit
Sensor: rainfall | fields: reading, depth, ts, qc
Task: Get value from dew_point where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049935 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: qc, type, reading, value
Sensor: humidity | fields: type, unit, ts, qc
Task: Fetch level from uv_index that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049936 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, type, reading, lat
Sensor: dew_point | fields: ts, value, lon, unit
Task: Retrieve lat from soil_moisture whose unit is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049937 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lat, ts, qc
Sensor: temperature | fields: depth, level, reading, unit
Task: Get reading from evaporation where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049938 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: value, lat, depth, reading
Sensor: air_quality | fields: level, qc, value, lat
Task: Get lat from humidity where depth exceeds the count of reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049939 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, depth, value, qc
Sensor: frost | fields: level, lat, type, qc
Task: Fetch value from humidity that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049940 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, level, lon, lat
Sensor: cloud_cover | fields: ts, type, reading, level
Task: Retrieve depth from temperature that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049941 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, type, depth, lat
Sensor: humidity | fields: reading, lat, ts, unit
Task: Fetch level from cloud_cover that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049942 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, level, lon, reading
Sensor: soil_moisture | fields: lon, reading, ts, level
Task: Get lat from cloud_cover where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049943 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, depth, qc, lat
Sensor: rainfall | fields: depth, lon, value, type
Task: Retrieve level from snow_depth that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049944 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: type, reading, lat, level
Sensor: lightning | fields: lat, unit, reading, depth
Task: Retrieve reading from visibility with value above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049945 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, reading, ts, type
Sensor: pressure | fields: unit, level, ts, lon
Task: Fetch lat from turbidity where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049946 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, lat, unit, level
Sensor: evaporation | fields: qc, value, level, lat
Task: Retrieve lat from wind_speed whose depth is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049947 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, depth, type, unit
Sensor: turbidity | fields: depth, lat, value, type
Task: Retrieve value from dew_point whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049948 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, level, ts, type
Sensor: turbidity | fields: lat, qc, level, type
Task: Retrieve lon from soil_moisture whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049949 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, value, reading, ts
Sensor: wind_speed | fields: value, depth, lat, reading
Task: Retrieve reading from lightning whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
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": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049950 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, unit, ts, lat
Sensor: visibility | fields: type, unit, lat, ts
Task: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049951 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, type, lon, depth
Sensor: turbidity | fields: ts, type, depth, lon
Task: Get reading from soil_moisture where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049952 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: ts, lat, qc, type
Sensor: lightning | fields: qc, value, unit, depth
Task: Retrieve value from air_quality that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049953 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, level, value, lat
Sensor: evaporation | fields: lon, qc, lat, ts
Task: Fetch value from wind_speed where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049954 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, reading, qc, ts
Sensor: frost | fields: reading, value, qc, lon
Task: Fetch lat from uv_index where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049955 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lat, reading, qc, type
Sensor: rainfall | fields: ts, lat, reading, qc
Task: Fetch lon from lightning where depth is greater than the total of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049956 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, lat, ts, lon
Sensor: uv_index | fields: depth, reading, lon, qc
Task: Fetch lat from drought_index that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049957 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: reading, value, type, lon
Sensor: cloud_cover | fields: ts, depth, lon, reading
Task: Fetch value from frost where reading is greater than the total of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049958 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lon, level, type, unit
Sensor: humidity | fields: ts, lon, value, qc
Task: Retrieve level from drought_index that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049959 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, depth, lon, value
Sensor: lightning | fields: ts, lat, unit, type
Task: Retrieve lon from soil_moisture with reading above the AVG(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049960 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, lat, reading, lon
Sensor: snow_depth | fields: reading, lat, value, depth
Task: Fetch depth from dew_point that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049961 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: level, qc, reading, lon
Sensor: soil_moisture | fields: ts, qc, level, type
Task: Retrieve depth from turbidity with depth above the COUNT(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049962 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: reading, qc, lon, depth
Sensor: lightning | fields: reading, ts, level, lon
Task: Fetch depth from humidity where value is greater than the total of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049963 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: ts, value, reading, lon
Sensor: humidity | fields: value, lon, unit, ts
Task: Fetch reading from sunlight where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049964 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, qc, ts, depth
Sensor: humidity | fields: lat, ts, value, type
Task: Get reading from drought_index where depth exceeds the total depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049965 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, level, ts, lon
Sensor: temperature | fields: depth, qc, value, type
Task: Retrieve level from drought_index whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049966 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, lon, lat, depth
Sensor: visibility | fields: type, level, lon, depth
Task: Retrieve lat from frost with reading above the AVG(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049967 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: ts, qc, lon, lat
Sensor: air_quality | fields: depth, value, lon, level
Task: Retrieve depth from visibility that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049968 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, value, ts, reading
Sensor: air_quality | fields: type, qc, lat, unit
Task: Fetch reading from drought_index that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049969 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, value, ts, lon
Sensor: dew_point | fields: depth, qc, type, ts
Task: Retrieve reading from drought_index with reading above the COUNT(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049970 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, type, unit, reading
Sensor: uv_index | fields: reading, type, qc, lat
Task: Get lon from wind_speed where depth exceeds the average reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049971 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, ts, type, qc
Sensor: rainfall | fields: reading, lat, value, lon
Task: Retrieve value from uv_index whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049972 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, level, qc, depth
Sensor: temperature | fields: value, qc, unit, lat
Task: Fetch depth from lightning that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049973 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: ts, level, lon, value
Sensor: frost | fields: reading, depth, qc, value
Task: Fetch lon from rainfall where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049974 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, reading, lat, value
Sensor: lightning | fields: lat, reading, depth, unit
Task: Retrieve level from air_quality that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049975 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, type, depth, lon
Sensor: lightning | fields: qc, lon, lat, depth
Task: Retrieve value from air_quality that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049976 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: level, lon, reading, qc
Sensor: turbidity | fields: value, lat, depth, level
Task: Retrieve level from wind_speed that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049977 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, ts, depth, lat
Sensor: pressure | fields: qc, level, unit, depth
Task: Fetch lon from drought_index where reading is greater than the maximum of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049978 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, depth, type
Sensor: evaporation | fields: ts, level, qc, lat
Task: Fetch lat from cloud_cover where depth is greater than the count of of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049979 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, type, depth, value
Sensor: cloud_cover | fields: depth, unit, level, type
Task: Retrieve lat from air_quality with value above the COUNT(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049980 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: type, lon, reading, depth
Sensor: frost | fields: lat, type, lon, qc
Task: Retrieve lon from pressure with depth above the MIN(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049981 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, depth, ts, qc
Sensor: pressure | fields: qc, level, type, lon
Task: Retrieve lon from drought_index with value above the AVG(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049982 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, value, unit, ts
Sensor: turbidity | fields: lat, unit, type, reading
Task: Retrieve reading from drought_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049983 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, ts, level, lon
Sensor: cloud_cover | fields: unit, ts, depth, qc
Task: Fetch depth from sunlight that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049984 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, lon, depth, level
Sensor: drought_index | fields: qc, lat, depth, reading
Task: Get lon from visibility where value exceeds the minimum reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049985 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, lat, reading, lon
Sensor: temperature | fields: level, qc, lon, ts
Task: Retrieve reading from rainfall that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049986 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, depth, lat, reading
Sensor: evaporation | fields: lon, type, qc, lat
Task: Get value from snow_depth where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049987 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, qc, reading, lon
Sensor: air_quality | fields: level, depth, unit, ts
Task: Get value from lightning where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049988 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: level, lat, lon, ts
Sensor: rainfall | fields: lat, lon, type, ts
Task: Fetch depth from wind_speed where depth is greater than the average of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049989 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, qc, lat, lon
Sensor: frost | fields: value, unit, level, reading
Task: Retrieve reading from wind_speed whose type is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049990 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, type, level, depth
Sensor: wind_speed | fields: lon, reading, unit, level
Task: Fetch value from drought_index where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049991 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: depth, level, lon, unit
Sensor: rainfall | fields: value, depth, unit, type
Task: Retrieve level from temperature with value above the AVG(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049992 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: depth, unit, value, reading
Sensor: pressure | fields: reading, type, ts, lon
Task: Retrieve level from evaporation that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049993 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, lat, unit, ts
Sensor: dew_point | fields: value, level, type, reading
Task: Fetch depth from drought_index where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049994 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, depth, level, reading
Sensor: wind_speed | fields: depth, unit, qc, ts
Task: Get depth from frost where depth exceeds the maximum depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049995 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, depth, qc, lat
Sensor: soil_moisture | fields: lat, qc, reading, lon
Task: Get reading from uv_index where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049996 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: value, reading, type, qc
Sensor: sunlight | fields: reading, value, unit, qc
Task: Retrieve lat from rainfall with reading above the AVG(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049997 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: type, lon, level, value
Sensor: drought_index | fields: unit, qc, type, lat
Task: Get value from sunlight where value exceeds the count of depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049998 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, depth, value, unit
Sensor: visibility | fields: depth, level, lat, type
Task: Fetch level from frost that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.