variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, depth, value, qc
Sensor: turbidity | fields: unit, lat, depth, ts
Task: Get level from cloud_cover where value exceeds the minimum reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016000 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, depth, type, lon
Sensor: dew_point | fields: ts, reading, unit, level
Task: Get level from air_quality where depth exceeds the total value from dew_point for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016001 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, depth, unit, level
Sensor: temperature | fields: reading, depth, value, lon
Task: Fetch lon from uv_index that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016002 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, ts, lat, lon
Sensor: air_quality | fields: unit, qc, level, ts
Task: Get reading from sunlight where depth exceeds the total value from air_quality for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016003 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, type, qc, lon
Sensor: humidity | fields: ts, value, qc, lat
Task: Retrieve level from pressure that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016004 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: ts, type, qc, lat
Sensor: humidity | fields: value, qc, reading, unit
Task: Retrieve depth from air_quality whose depth is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016005 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: unit, depth, reading, value
Sensor: air_quality | fields: qc, lat, unit, type
Task: Get level from pressure where reading exceeds the minimum depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016006 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, qc, ts, reading
Sensor: lightning | fields: unit, reading, type, level
Task: Retrieve lat from visibility that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016007 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lat, unit, ts, qc
Sensor: humidity | fields: qc, lon, lat, ts
Task: Retrieve value from turbidity whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016008 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: depth, ts, lat, reading
Sensor: turbidity | fields: lon, qc, lat, depth
Task: Get lat from dew_point where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016009 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, type, reading, unit
Sensor: wind_speed | fields: reading, type, qc, level
Task: Get depth from temperature where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016010 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lon, qc, depth, lat
Sensor: pressure | fields: qc, unit, level, lon
Task: Retrieve value from humidity that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016011 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, qc, reading, depth
Sensor: frost | fields: depth, lat, reading, unit
Task: Get lon from wind_speed where depth exceeds the average reading from frost for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016012 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, lat, depth, lon
Sensor: wind_speed | fields: ts, type, reading, lat
Task: Fetch lat from uv_index where value is greater than the count of of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016013 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, lon, level, qc
Sensor: lightning | fields: ts, unit, type, lat
Task: Fetch value from air_quality where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016014 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, level, depth, lat
Sensor: evaporation | fields: lat, reading, type, depth
Task: Fetch depth from air_quality where reading is greater than the count of of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016015 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, reading, unit, lat
Sensor: lightning | fields: ts, qc, type, lon
Task: Get lon from snow_depth where depth exceeds the total value from lightning for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016016 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: level, depth, qc, lat
Sensor: lightning | fields: lat, ts, type, qc
Task: Retrieve depth from rainfall with value above the SUM(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016017 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, lon, qc, depth
Sensor: visibility | fields: lon, lat, depth, value
Task: Retrieve depth from temperature that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016018 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, reading, ts, lat
Sensor: wind_speed | fields: lat, lon, unit, ts
Task: Fetch level from turbidity that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016019 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lon, value, reading, ts
Sensor: dew_point | fields: unit, qc, lat, reading
Task: Get lat from lightning where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016020 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, reading, type, ts
Sensor: frost | fields: type, level, depth, value
Task: Get reading from dew_point where qc appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016021 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lat, reading, lon, unit
Sensor: air_quality | fields: unit, ts, reading, lon
Task: Get value from rainfall where a corresponding entry exists in air_quality with 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_016022 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, type, unit, lon
Sensor: pressure | fields: unit, lon, qc, type
Task: Fetch level from sunlight where reading is greater than the average of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016023 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lat, type, depth
Sensor: pressure | fields: lon, type, unit, value
Task: Get lat from drought_index where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016024 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, level, value, reading
Sensor: drought_index | fields: reading, lat, unit, lon
Task: Fetch reading from snow_depth that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016025 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, type, level, depth
Sensor: drought_index | fields: qc, unit, lat, depth
Task: Get reading from frost where value exceeds the maximum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016026 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: level, value, reading, lon
Sensor: air_quality | fields: lon, unit, qc, level
Task: Get lat from temperature where reading exceeds the maximum reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016027 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: level, reading, value, lat
Sensor: cloud_cover | fields: type, depth, ts, level
Task: Fetch level from rainfall that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016028 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: type, ts, lat, unit
Sensor: visibility | fields: level, depth, ts, lat
Task: Retrieve level from evaporation whose ts is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016029 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, qc, lat, level
Sensor: drought_index | fields: depth, unit, ts, lat
Task: Get lat from frost where depth exceeds the total reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016030 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, ts, value, lat
Sensor: snow_depth | fields: unit, level, lon, ts
Task: Retrieve depth from uv_index whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016031 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, ts, level, lon
Sensor: temperature | fields: depth, unit, value, lon
Task: Get lon from turbidity where value exceeds the minimum reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016032 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, ts, unit, reading
Sensor: snow_depth | fields: lon, ts, lat, type
Task: Retrieve depth from lightning that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016033 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, value, depth, qc
Sensor: lightning | fields: unit, lat, ts, type
Task: Retrieve depth from rainfall with value above the MAX(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016034 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, level, lat, depth
Sensor: uv_index | fields: level, qc, unit, reading
Task: Retrieve lon from frost with depth above the MAX(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016035 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: value, qc, depth, level
Sensor: uv_index | fields: qc, depth, level, unit
Task: Retrieve reading from sunlight that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016036 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lon, unit, type, ts
Sensor: turbidity | fields: type, unit, level, depth
Task: Retrieve lon from uv_index with reading above the AVG(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016037 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: ts, unit, depth, lon
Sensor: snow_depth | fields: qc, type, value, lat
Task: Fetch depth from drought_index where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016038 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, unit, type, lat
Sensor: uv_index | fields: reading, level, ts, value
Task: Fetch reading from sunlight that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016039 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: value, type, ts, depth
Sensor: wind_speed | fields: reading, level, qc, value
Task: Get depth from turbidity where depth exceeds the total depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016040 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, reading, lon
Sensor: visibility | fields: lat, ts, qc, depth
Task: Retrieve reading from sunlight that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016041 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, value, type, depth
Sensor: sunlight | fields: depth, ts, type, level
Task: Retrieve level from uv_index that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016042 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lon, qc, unit, type
Sensor: drought_index | fields: lon, lat, level, reading
Task: Fetch value from lightning where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016043 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: unit, type, reading, depth
Sensor: soil_moisture | fields: level, ts, type, unit
Task: Get level from humidity where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016044 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, level, value, reading
Sensor: cloud_cover | fields: unit, level, value, reading
Task: Retrieve reading from lightning whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016045 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, depth, reading, level
Sensor: cloud_cover | fields: type, lat, ts, level
Task: Fetch reading from air_quality where depth is greater than the average of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016046 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, ts, lat, lon
Sensor: air_quality | fields: level, lon, reading, depth
Task: Get lat from pressure where qc appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016047 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, value, ts, depth
Sensor: soil_moisture | fields: depth, lon, type, qc
Task: Fetch reading from cloud_cover that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016048 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, qc, level, value
Sensor: soil_moisture | fields: unit, level, value, lat
Task: Fetch lat from air_quality that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016049 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, unit, reading, level
Sensor: rainfall | fields: lat, unit, reading, level
Task: Get depth from snow_depth where depth appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016050 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, ts, type
Sensor: frost | fields: type, lon, reading, unit
Task: Fetch level from uv_index where depth exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016051 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, unit, ts, lon
Sensor: visibility | fields: lon, type, depth, reading
Task: Retrieve depth from soil_moisture that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016052 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, value, qc, lat
Sensor: dew_point | fields: depth, unit, type, lat
Task: Retrieve depth from soil_moisture with reading above the COUNT(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016053 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, qc, depth, value
Sensor: evaporation | fields: ts, type, value, level
Task: Get level from sunlight where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016054 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, reading, lon, qc
Sensor: wind_speed | fields: qc, depth, type, level
Task: Fetch value from frost where depth exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016055 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, unit, ts, type
Sensor: lightning | fields: ts, type, depth, lon
Task: Get value from snow_depth where depth exceeds the count of reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016056 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, ts, lat
Sensor: air_quality | fields: qc, reading, level, depth
Task: Fetch lat from humidity where reading is greater than the maximum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
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": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016057 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, unit, depth, ts
Sensor: pressure | fields: depth, unit, reading, value
Task: Fetch reading from dew_point that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016058 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: type, ts, qc, lon
Sensor: lightning | fields: level, qc, ts, reading
Task: Retrieve lat from pressure whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016059 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: qc, reading, ts, unit
Sensor: air_quality | fields: lon, lat, level, depth
Task: Retrieve depth from evaporation that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016060 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: qc, reading, lon, value
Sensor: uv_index | fields: type, reading, value, lon
Task: Get depth from air_quality where value exceeds the average reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016061 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lat, lon, value, unit
Sensor: rainfall | fields: lat, unit, type, level
Task: Retrieve depth from sunlight whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016062 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, depth, unit, type
Sensor: wind_speed | fields: reading, qc, value, type
Task: Get reading from sunlight where depth exceeds the minimum depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016063 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: type, value, lat, depth
Sensor: frost | fields: value, depth, lon, unit
Task: Retrieve depth from visibility that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016064 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, unit, qc, reading
Sensor: dew_point | fields: depth, value, lon, lat
Task: Retrieve depth from rainfall whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016065 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, ts, reading, qc
Sensor: dew_point | fields: lon, qc, value, type
Task: Retrieve reading from temperature whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016066 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lon, qc, level
Sensor: frost | fields: type, value, depth, lon
Task: Fetch value from uv_index where depth exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016067 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: reading, depth, qc, level
Sensor: temperature | fields: qc, lon, unit, level
Task: Fetch reading from turbidity where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016068 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, depth, qc, lon
Sensor: humidity | fields: level, depth, qc, type
Task: Fetch lon from snow_depth that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016069 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, lon, unit, type
Sensor: temperature | fields: unit, lon, level, lat
Task: Get value from air_quality where value exceeds the maximum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016070 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, ts, unit, type
Sensor: pressure | fields: value, depth, ts, lon
Task: Fetch level from air_quality that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016071 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, level, lat, qc
Sensor: sunlight | fields: qc, level, unit, reading
Task: Retrieve reading from temperature whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016072 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, value, type, reading
Sensor: dew_point | fields: level, lon, value, type
Task: Fetch level from evaporation where depth is greater than the maximum of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016073 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lon, unit, level, lat
Sensor: lightning | fields: reading, type, value, lat
Task: Fetch lat from turbidity where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016074 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, level, lat, value
Sensor: uv_index | fields: type, depth, ts, level
Task: Retrieve depth from wind_speed whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016075 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, ts, lat, reading
Sensor: visibility | fields: depth, ts, reading, type
Task: Retrieve lat from rainfall with depth above the AVG(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016076 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, value, level, lon
Sensor: pressure | fields: lat, unit, qc, level
Task: Get reading from visibility where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016077 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, lon, level, reading
Sensor: cloud_cover | fields: level, value, lat, reading
Task: Fetch lon from wind_speed that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"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_016078 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: ts, level, lon, unit
Sensor: air_quality | fields: depth, ts, unit, level
Task: Get lon from temperature where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016079 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, depth, lon, reading
Sensor: humidity | fields: lat, level, reading, depth
Task: Retrieve lon from turbidity whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016080 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, value, depth, unit
Sensor: wind_speed | fields: type, depth, lon, unit
Task: Fetch value from drought_index where value is greater than the maximum of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016081 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lon, level, reading, type
Sensor: evaporation | fields: value, depth, type, lat
Task: Get reading from lightning where reading exceeds the minimum value from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016082 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, type, ts, value
Sensor: snow_depth | fields: type, unit, ts, qc
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016083 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, lon, unit, lat
Sensor: snow_depth | fields: type, value, ts, level
Task: Retrieve level from wind_speed that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016084 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, type, depth, unit
Sensor: wind_speed | fields: level, qc, lon, depth
Task: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016085 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, unit, level, reading
Sensor: temperature | fields: type, reading, lat, value
Task: Retrieve lat from sunlight whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016086 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, level, value, depth
Sensor: lightning | fields: value, lon, reading, unit
Task: Retrieve reading from soil_moisture with depth above the AVG(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016087 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, value, ts, qc
Sensor: temperature | fields: qc, lon, level, value
Task: Fetch lon from dew_point that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016088 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, ts, lat, value
Sensor: uv_index | fields: ts, reading, level, unit
Task: Fetch value from wind_speed that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016089 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: value, depth, unit, type
Sensor: turbidity | fields: unit, reading, lat, qc
Task: Get reading from rainfall where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016090 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, level, lon, qc
Sensor: humidity | fields: value, depth, qc, reading
Task: Fetch level from pressure where depth is greater than the maximum of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016091 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, ts, qc, type
Sensor: snow_depth | fields: reading, value, level, type
Task: Get value from turbidity where reading exceeds the total depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"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_016092 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, type, lon, reading
Sensor: evaporation | fields: value, depth, unit, ts
Task: Fetch reading from visibility where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016093 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, value, qc, level
Sensor: soil_moisture | fields: value, reading, type, lon
Task: Fetch reading from turbidity where reading is greater than the minimum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016094 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: depth, type, lon, value
Sensor: air_quality | fields: value, depth, qc, unit
Task: Fetch depth from dew_point where unit exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016095 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, qc, lon, unit
Sensor: cloud_cover | fields: unit, type, level, lat
Task: Fetch level from sunlight where depth is greater than the average of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016096 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, lat, level, unit
Sensor: rainfall | fields: unit, depth, value, level
Task: Fetch reading from dew_point that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016097 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, value, depth, ts
Sensor: air_quality | fields: qc, lat, level, unit
Task: Fetch lat from soil_moisture where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_016098 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, reading, type, level
Sensor: evaporation | fields: ts, value, qc, unit
Task: Fetch lat from sunlight that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_016099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.