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: evaporation | code: prt | fields: value, unit, ts, type
Sensor: pressure | fields: value, level, unit, type
Task: Retrieve value from evaporation whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002900 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, value, lon, lat
Sensor: snow_depth | fields: reading, type, lon, level
Task: Retrieve value from evaporation that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002901 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: ts, lat, level, unit
Sensor: temperature | fields: type, level, lat, ts
Task: Get value from visibility where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002902 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, lat, level, depth
Sensor: sunlight | fields: type, lon, value, level
Task: Fetch lon from rainfall that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002903 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lon, unit, ts, value
Sensor: cloud_cover | fields: reading, level, qc, depth
Task: Retrieve depth from sunlight that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002904 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, unit, depth, ts
Sensor: uv_index | fields: unit, type, depth, qc
Task: Fetch level from lightning that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002905 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, ts, qc, unit
Sensor: humidity | fields: value, qc, ts, level
Task: Fetch lon from lightning where value is greater than the maximum of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002906 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: qc, reading, lon, level
Sensor: snow_depth | fields: value, type, lon, qc
Task: Get lat from evaporation where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002907 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lon, level, reading, type
Sensor: drought_index | fields: qc, unit, depth, value
Task: Fetch lon from dew_point that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002908 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, value, level, type
Sensor: humidity | fields: level, lon, reading, ts
Task: Retrieve reading from turbidity that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002909 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, depth, lon, qc
Sensor: turbidity | fields: lat, ts, depth, type
Task: Fetch lat from cloud_cover where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002910 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, lon, level, reading
Sensor: turbidity | fields: depth, value, ts, reading
Task: Retrieve reading from humidity whose qc is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002911 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: depth, reading, type, value
Sensor: cloud_cover | fields: ts, qc, value, level
Task: Fetch lat from temperature where ts exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002912 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, type, value, lon
Sensor: uv_index | fields: level, depth, type, reading
Task: Fetch lat from sunlight where type exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002913 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: type, level, lon, depth
Sensor: wind_speed | fields: lon, level, value, qc
Task: Fetch reading from dew_point where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002914 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, unit, depth, type
Sensor: pressure | fields: type, reading, level, unit
Task: Fetch lat from wind_speed that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002915 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, value, level, lat
Sensor: evaporation | fields: qc, ts, value, depth
Task: Get level from uv_index where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002916 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, lat, lon, value
Sensor: drought_index | fields: depth, lon, qc, lat
Task: Get lon from temperature where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002917 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, lon, reading, type
Sensor: drought_index | fields: lon, ts, reading, depth
Task: Get level from temperature where depth exceeds the average reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002918 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, level, depth, qc
Sensor: temperature | fields: lat, value, reading, qc
Task: Retrieve lon from snow_depth with value above the MAX(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002919 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: reading, value, qc, unit
Sensor: wind_speed | fields: depth, reading, qc, lat
Task: Retrieve level from dew_point with depth above the COUNT(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002920 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, reading, value, qc
Sensor: temperature | fields: qc, lon, lat, depth
Task: Fetch level from soil_moisture where value is greater than the total of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002921 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: level, ts, unit, depth
Sensor: dew_point | fields: depth, reading, type, value
Task: Fetch lat from evaporation where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002922 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, value, lon, unit
Sensor: uv_index | fields: depth, unit, value, lon
Task: Fetch reading from temperature where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002923 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, type, ts, reading
Sensor: lightning | fields: type, level, unit, lat
Task: Get reading from sunlight where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002924 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, ts, lon, value
Sensor: cloud_cover | fields: ts, level, lon, depth
Task: Fetch lat from frost where value is greater than the minimum of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002925 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, unit, lon, qc
Sensor: humidity | fields: type, level, value, unit
Task: Retrieve depth from visibility with reading above the MAX(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002926 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: ts, depth, level, lat
Sensor: frost | fields: lat, value, depth, reading
Task: Get lat from dew_point where value exceeds the minimum reading from frost for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002927 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: reading, lat, level, qc
Sensor: sunlight | fields: type, reading, lon, ts
Task: Retrieve level from rainfall whose type is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002928 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: value, unit, ts, type
Sensor: frost | fields: ts, qc, lon, lat
Task: Retrieve lon from lightning with value above the MIN(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"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_002929 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, ts, lat, unit
Sensor: dew_point | fields: value, lat, depth, reading
Task: Fetch level from lightning where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002930 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, type, ts, depth
Sensor: air_quality | fields: depth, type, ts, lon
Task: Fetch lon from wind_speed that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002931 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, reading, value, level
Sensor: snow_depth | fields: value, unit, depth, reading
Task: Fetch level from cloud_cover where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002932 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: ts, level, reading, depth
Sensor: evaporation | fields: value, type, level, qc
Task: Fetch reading from humidity that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002933 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: level, lon, type, ts
Sensor: temperature | fields: qc, ts, reading, unit
Task: Get reading from air_quality where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002934 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, depth, value, level
Sensor: snow_depth | fields: qc, unit, type, reading
Task: Get value from rainfall where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002935 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, ts, qc, lat
Sensor: cloud_cover | fields: lat, depth, level, ts
Task: Get lon from dew_point where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002936 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: value, unit, level, depth
Sensor: dew_point | fields: value, unit, ts, reading
Task: Fetch reading from temperature where depth is greater than the minimum of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002937 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, lon, depth, ts
Sensor: pressure | fields: reading, ts, unit, depth
Task: Fetch level from cloud_cover that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002938 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, unit, lat, ts
Sensor: snow_depth | fields: level, type, unit, ts
Task: Get lat from pressure where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"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_002939 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: level, reading, lon, depth
Sensor: pressure | fields: type, value, lat, level
Task: Retrieve value from air_quality with depth above the AVG(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002940 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: qc, type, unit, lon
Sensor: cloud_cover | fields: depth, level, lat, lon
Task: Retrieve lon from evaporation whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002941 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, level, lon, qc
Sensor: turbidity | fields: lon, lat, type, value
Task: Get value from lightning where type appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002942 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, lat, value, lon
Sensor: humidity | fields: qc, depth, level, type
Task: Retrieve level from cloud_cover with reading above the AVG(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002943 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, lat, unit
Sensor: uv_index | fields: value, ts, lon, depth
Task: Get lon from snow_depth where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002944 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, depth, level, value
Sensor: cloud_cover | fields: ts, lat, depth, reading
Task: Get lon from wind_speed where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002945 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: unit, ts, value, type
Sensor: rainfall | fields: qc, depth, reading, unit
Task: Fetch reading from temperature where unit exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002946 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: value, ts, lon, level
Sensor: sunlight | fields: level, depth, ts, reading
Task: Fetch depth from turbidity where reading is greater than the minimum of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002947 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, depth, lon, qc
Sensor: temperature | fields: type, qc, depth, unit
Task: Retrieve value from wind_speed whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002948 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, lon, unit, type
Sensor: turbidity | fields: value, qc, type, unit
Task: Retrieve lon from temperature whose depth is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002949 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: ts, depth, unit, qc
Sensor: air_quality | fields: lat, reading, qc, level
Task: Retrieve value from rainfall that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002950 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, lat, unit
Sensor: temperature | fields: ts, qc, unit, reading
Task: Retrieve lon from uv_index whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002951 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, reading, ts, lat
Sensor: air_quality | fields: ts, level, type, unit
Task: Fetch lat from soil_moisture that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002952 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, type, lon, reading
Sensor: soil_moisture | fields: ts, qc, lon, lat
Task: Retrieve depth from temperature whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002953 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, reading, type, unit
Sensor: turbidity | fields: level, value, reading, ts
Task: Fetch value from frost that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"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_002954 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, lat, lon, unit
Sensor: temperature | fields: reading, lat, level, type
Task: Fetch lon from wind_speed that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002955 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, lat, qc, ts
Sensor: wind_speed | fields: lat, value, depth, type
Task: Get lat from humidity where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002956 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: type, unit, level, qc
Sensor: soil_moisture | fields: reading, lat, unit, ts
Task: Fetch level from air_quality that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002957 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, depth, lon, lat
Sensor: wind_speed | fields: qc, level, unit, type
Task: Retrieve depth from air_quality whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002958 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: depth, type, ts, lat
Sensor: humidity | fields: lon, qc, reading, unit
Task: Fetch reading from frost where reading is greater than the count of of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002959 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lon, lat, unit
Sensor: evaporation | fields: lat, level, qc, type
Task: Get reading from cloud_cover where depth appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002960 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lat, level, depth, ts
Sensor: uv_index | fields: level, reading, qc, unit
Task: Fetch lat from evaporation where value is greater than the minimum of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002961 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, unit, type
Sensor: turbidity | fields: lon, ts, unit, reading
Task: Fetch lat from sunlight where depth is greater than the count of of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002962 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, reading, value, ts
Sensor: rainfall | fields: lat, lon, qc, value
Task: Retrieve lat from drought_index whose ts is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002963 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: qc, value, level, reading
Sensor: evaporation | fields: type, level, reading, lon
Task: Get lat from humidity where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002964 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, value, unit, depth
Sensor: drought_index | fields: level, ts, depth, type
Task: Get level from soil_moisture where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002965 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: depth, lat, reading, unit
Sensor: snow_depth | fields: type, depth, level, lon
Task: Retrieve value from dew_point whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002966 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, qc, depth, unit
Sensor: turbidity | fields: level, lon, ts, lat
Task: Retrieve lat from temperature with depth above the MAX(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002967 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, ts, qc, lat
Sensor: wind_speed | fields: level, reading, qc, depth
Task: Fetch reading from temperature that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002968 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, depth, type, lon
Sensor: evaporation | fields: reading, level, lat, value
Task: Fetch value from uv_index where reading is greater than the total of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002969 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, lon, type, reading
Sensor: humidity | fields: qc, lat, level, reading
Task: Get depth from dew_point where depth exceeds the average value from humidity for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002970 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, value, reading, lat
Sensor: drought_index | fields: unit, ts, depth, lon
Task: Fetch level from wind_speed where value is greater than the count of of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002971 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, unit, value, reading
Sensor: wind_speed | fields: level, type, lat, lon
Task: Fetch value from pressure where reading is greater than the count of of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002972 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, type, reading, unit
Sensor: air_quality | fields: depth, lat, qc, level
Task: Retrieve level from temperature that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002973 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, depth, unit, qc
Sensor: sunlight | fields: lat, ts, qc, value
Task: Get lat from snow_depth where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002974 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: type, reading, value, qc
Sensor: lightning | fields: unit, qc, value, lon
Task: Retrieve reading from sunlight that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002975 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: unit, type, qc, value
Sensor: wind_speed | fields: ts, lat, lon, qc
Task: Retrieve depth from frost whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002976 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: qc, lat, depth, unit
Sensor: air_quality | fields: ts, type, unit, depth
Task: Fetch depth from sunlight that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002977 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, ts, level, depth
Sensor: wind_speed | fields: level, qc, depth, lat
Task: Retrieve level from uv_index whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002978 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, value, depth, ts
Sensor: pressure | fields: level, qc, value, ts
Task: Fetch depth from turbidity where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002979 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, depth, unit, reading
Sensor: pressure | fields: unit, depth, lat, qc
Task: Get level from snow_depth where reading exceeds the average reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002980 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: reading, level, depth, value
Sensor: snow_depth | fields: lat, unit, qc, depth
Task: Retrieve reading from turbidity whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002981 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: type, lon, ts, level
Sensor: evaporation | fields: type, qc, lat, unit
Task: Fetch reading from humidity that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002982 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, lat, value, ts
Sensor: temperature | fields: lat, value, lon, type
Task: Retrieve lat from wind_speed whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002983 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, level, ts, lat
Sensor: sunlight | fields: level, reading, ts, type
Task: Fetch lon from evaporation where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002984 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, depth, lat, lon
Sensor: turbidity | fields: lat, ts, qc, lon
Task: Retrieve reading from uv_index that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002985 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, unit, lon, level
Sensor: cloud_cover | fields: type, lon, depth, ts
Task: Get lon from air_quality where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"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_002986 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lat, lon, level, qc
Sensor: humidity | fields: unit, value, level, qc
Task: Retrieve lon from temperature whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002987 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, depth, reading, qc
Sensor: snow_depth | fields: unit, depth, type, value
Task: Retrieve level from humidity with reading above the SUM(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"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_002988 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, level, lat, value
Sensor: rainfall | fields: reading, ts, lon, level
Task: Get reading from snow_depth where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002989 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, ts, type, value
Sensor: frost | fields: lon, value, reading, ts
Task: Get lon from cloud_cover where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002990 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, ts, level, qc
Sensor: air_quality | fields: qc, lon, value, level
Task: Get lat from pressure where depth exceeds the minimum depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002991 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: unit, depth, lat, reading
Sensor: snow_depth | fields: lon, depth, lat, ts
Task: Get lat from visibility where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002992 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, ts, qc, type
Sensor: rainfall | fields: qc, depth, unit, value
Task: Retrieve level from pressure with value above the MAX(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002993 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, level, unit, lon
Sensor: temperature | fields: lon, value, type, qc
Task: Get lat from soil_moisture where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"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_002994 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, level, lon, qc
Sensor: soil_moisture | fields: reading, depth, level, type
Task: Fetch reading from frost where unit exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002995 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, depth, value, level
Sensor: humidity | fields: reading, lat, ts, value
Task: Fetch level from turbidity where reading is greater than the total of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002996 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, lon, depth, unit
Sensor: soil_moisture | fields: depth, lon, ts, unit
Task: Fetch depth from cloud_cover where reading is greater than the maximum of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002997 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: level, reading, ts, type
Sensor: soil_moisture | fields: qc, unit, lat, depth
Task: Get value from air_quality where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002998 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lat, type, qc
Sensor: air_quality | fields: qc, unit, ts, type
Task: Retrieve lon from dew_point whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.