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: air_quality | code: mst | fields: value, lat, depth, qc
Sensor: rainfall | fields: level, ts, lon, unit
Task: Retrieve reading from air_quality whose type is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057000 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, type, unit, ts
Sensor: soil_moisture | fields: ts, lon, unit, value
Task: Retrieve level from snow_depth whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057001 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, reading, unit, ts
Sensor: frost | fields: lat, ts, reading, lon
Task: Fetch value from air_quality where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057002 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: value, ts, lat, reading
Sensor: visibility | fields: qc, reading, level, ts
Task: Get depth from turbidity where depth exceeds the total depth from visibility for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057003 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, qc, reading, lon
Sensor: lightning | fields: depth, ts, type, level
Task: Retrieve lat from humidity whose qc is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057004 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lat, value, qc, level
Sensor: lightning | fields: unit, qc, value, reading
Task: Retrieve lat from uv_index whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057005 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, unit, level, qc
Sensor: rainfall | fields: unit, reading, level, qc
Task: Retrieve lon from drought_index whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057006 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: reading, unit, qc, lon
Sensor: lightning | fields: lon, level, ts, type
Task: Get depth from sunlight where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057007 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, lat, level, value
Sensor: lightning | fields: unit, qc, depth, type
Task: Get reading from turbidity where reading exceeds the average depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057008 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, reading, qc, unit
Sensor: evaporation | fields: qc, depth, reading, lat
Task: Get value from wind_speed where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057009 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, unit, reading, qc
Sensor: rainfall | fields: qc, unit, level, ts
Task: Fetch lat from humidity where qc exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057010 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, ts, reading, type
Sensor: snow_depth | fields: unit, reading, qc, depth
Task: Retrieve depth from pressure whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057011 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lon, lat, qc, value
Sensor: frost | fields: lon, depth, value, ts
Task: Fetch lon from humidity where reading is greater than the average of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057012 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: unit, qc, ts, level
Sensor: uv_index | fields: type, ts, unit, value
Task: Get depth from sunlight where reading exceeds the total value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057013 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, value, lat, ts
Sensor: air_quality | fields: value, depth, unit, type
Task: Fetch lon from humidity where value is greater than the count of of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057014 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, unit, ts, reading
Sensor: air_quality | fields: type, ts, value, lon
Task: Retrieve value from frost with depth above the MAX(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057015 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: value, ts, lon, depth
Sensor: soil_moisture | fields: lon, ts, unit, level
Task: Get depth from temperature where depth exceeds the average depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057016 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: type, reading, qc, value
Sensor: drought_index | fields: qc, ts, lat, depth
Task: Fetch reading from humidity where depth is greater than the average of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057017 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, qc, type, value
Sensor: frost | fields: unit, value, lon, level
Task: Get level from turbidity where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057018 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: value, depth, qc, lon
Sensor: pressure | fields: lat, lon, ts, reading
Task: Retrieve lat from turbidity whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057019 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, value, lat, type
Sensor: temperature | fields: type, unit, qc, ts
Task: Get reading from air_quality where depth exceeds the average depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057020 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, level, lon
Sensor: uv_index | fields: lon, level, unit, depth
Task: Fetch reading from humidity where qc exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057021 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, reading, qc, lat
Sensor: pressure | fields: lat, qc, ts, type
Task: Get level from dew_point where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057022 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, level, value, lon
Sensor: pressure | fields: depth, value, ts, lon
Task: Retrieve lat from drought_index whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057023 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, reading, unit, ts
Sensor: dew_point | fields: lon, depth, type, unit
Task: Fetch level from cloud_cover where value is greater than the average of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057024 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, level, depth
Sensor: evaporation | fields: lat, ts, type, lon
Task: Fetch lon from humidity that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057025 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: depth, ts, qc, type
Sensor: pressure | fields: depth, reading, level, type
Task: Fetch value from air_quality where depth is greater than the average of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057026 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: depth, type, ts, unit
Sensor: dew_point | fields: reading, lon, level, type
Task: Fetch lon from temperature where depth is greater than the minimum of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057027 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: type, lat, level, depth
Sensor: rainfall | fields: ts, lon, level, type
Task: Get depth from temperature where value exceeds the average reading from rainfall for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057028 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: depth, ts, type, reading
Sensor: cloud_cover | fields: ts, lon, level, lat
Task: Get lat from dew_point where reading exceeds the count of reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057029 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: depth, lon, unit, lat
Sensor: frost | fields: qc, value, ts, reading
Task: Fetch lon from visibility that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057030 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, lat, ts
Sensor: uv_index | fields: ts, lat, unit, type
Task: Fetch depth from air_quality that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057031 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lon, level, unit
Sensor: air_quality | fields: depth, lat, ts, lon
Task: Get lat from cloud_cover where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057032 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lat, value, type
Sensor: lightning | fields: unit, level, depth, lon
Task: Get lon from evaporation where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057033 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, unit, value, lon
Sensor: turbidity | fields: level, reading, type, unit
Task: Get depth from wind_speed where depth exceeds the average value from turbidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057034 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, level, ts, lat
Sensor: pressure | fields: level, depth, type, lat
Task: Get reading from cloud_cover where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057035 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, ts, qc, reading
Sensor: evaporation | fields: lon, type, lat, level
Task: Retrieve lat from rainfall that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057036 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: level, reading, lat, qc
Sensor: turbidity | fields: type, lat, value, lon
Task: Retrieve level from frost with depth above the AVG(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057037 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, lat, type, ts
Sensor: lightning | fields: unit, lon, depth, value
Task: Fetch lon from uv_index where value is greater than the average of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057038 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: unit, lon, type, value
Sensor: visibility | fields: ts, lon, level, qc
Task: Fetch value from evaporation where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057039 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, lat, type, level
Sensor: temperature | fields: value, lat, lon, unit
Task: Fetch value from uv_index where reading is greater than the minimum of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057040 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: unit, type, qc, depth
Sensor: rainfall | fields: ts, lon, reading, lat
Task: Retrieve depth from air_quality with reading above the MAX(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057041 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, reading, qc, value
Sensor: turbidity | fields: lat, reading, type, lon
Task: Fetch lat from cloud_cover where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057042 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, lon, type
Sensor: wind_speed | fields: reading, lat, qc, level
Task: Get value from drought_index where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057043 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, depth, lat, unit
Sensor: drought_index | fields: lat, level, type, depth
Task: Fetch value from uv_index where qc exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057044 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, lon, qc, reading
Sensor: pressure | fields: depth, reading, value, qc
Task: Get level from snow_depth where depth exceeds the maximum reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "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": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057045 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, depth, level, lat
Sensor: air_quality | fields: depth, reading, level, ts
Task: Fetch lat from snow_depth where reading is greater than the count of of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057046 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, level, qc, ts
Sensor: soil_moisture | fields: reading, ts, level, qc
Task: Fetch lat from humidity where value is greater than the total of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057047 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, lon, unit, ts
Sensor: soil_moisture | fields: ts, level, type, lon
Task: Retrieve reading from cloud_cover with depth above the AVG(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057048 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: type, lon, ts, value
Sensor: drought_index | fields: type, qc, level, ts
Task: Fetch value from temperature where qc exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057049 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, unit, lon, depth
Sensor: lightning | fields: value, depth, lon, level
Task: Fetch level from turbidity where value is greater than the minimum of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057050 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, qc, reading, unit
Sensor: uv_index | fields: value, depth, level, qc
Task: Get level from temperature where type appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057051 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, value, depth
Sensor: wind_speed | fields: unit, qc, ts, depth
Task: Get reading from humidity where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057052 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, lat, reading, lon
Sensor: frost | fields: level, value, depth, ts
Task: Fetch lat from temperature where reading is greater than the total of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057053 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, level, value, reading
Sensor: dew_point | fields: qc, value, reading, lon
Task: Retrieve lon from drought_index with value above the MIN(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057054 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, lat, reading, level
Sensor: rainfall | fields: depth, reading, value, ts
Task: Fetch depth from soil_moisture that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057055 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: unit, lon, ts, level
Sensor: frost | fields: lon, level, unit, type
Task: Retrieve depth from temperature with reading above the AVG(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057056 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: depth, type, reading, lon
Sensor: cloud_cover | fields: qc, type, ts, lat
Task: Retrieve reading from pressure whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057057 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, lon, unit, lat
Sensor: soil_moisture | fields: unit, lat, reading, level
Task: Get lon from pressure where reading exceeds the average reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057058 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, level, reading, unit
Sensor: air_quality | fields: ts, depth, lat, type
Task: Fetch level from evaporation where depth is greater than the total of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057059 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: value, type, qc, reading
Sensor: cloud_cover | fields: qc, ts, reading, lon
Task: Get level from wind_speed where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057060 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lat, lon, ts
Sensor: wind_speed | fields: depth, ts, level, lat
Task: Fetch level from uv_index where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057061 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: type, qc, lat, ts
Sensor: snow_depth | fields: ts, value, lon, unit
Task: Fetch depth from evaporation where qc exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057062 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, reading, level, ts
Sensor: rainfall | fields: value, unit, lon, reading
Task: Retrieve lat from pressure that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057063 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lon, level, value, reading
Sensor: snow_depth | fields: qc, reading, lon, ts
Task: Get reading from dew_point where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057064 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: depth, lat, type, lon
Sensor: cloud_cover | fields: lon, depth, level, reading
Task: Retrieve level from temperature with value above the MIN(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057065 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, qc, value, ts
Sensor: wind_speed | fields: depth, value, type, level
Task: Get reading from drought_index where depth exceeds the minimum depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057066 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, type, ts, reading
Sensor: lightning | fields: reading, type, depth, qc
Task: Fetch lat from air_quality where reading is greater than the minimum of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057067 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, ts, depth, qc
Sensor: soil_moisture | fields: lat, qc, lon, value
Task: Fetch depth from air_quality where depth is greater than the count of of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057068 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, type, value, reading
Sensor: uv_index | fields: lat, depth, unit, ts
Task: Retrieve depth from pressure with value above the AVG(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057069 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, type, ts, qc
Sensor: dew_point | fields: lat, lon, level, reading
Task: Fetch depth from lightning where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057070 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, type, qc, lon
Sensor: visibility | fields: lon, level, type, lat
Task: Retrieve reading from soil_moisture that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057071 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, lat, ts, reading
Sensor: rainfall | fields: type, ts, lat, unit
Task: Retrieve level from soil_moisture that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057072 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, value, depth, reading
Sensor: temperature | fields: qc, ts, reading, unit
Task: Fetch lon from frost where ts exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057073 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, lon, type
Sensor: dew_point | fields: lon, qc, unit, value
Task: Get lat from turbidity where value exceeds the average depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057074 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, type, level, depth
Sensor: dew_point | fields: level, ts, type, value
Task: Retrieve level from pressure with reading above the MAX(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057075 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, type, reading, ts
Sensor: rainfall | fields: type, value, unit, ts
Task: Fetch value from snow_depth where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057076 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, ts, value, unit
Sensor: evaporation | fields: lat, value, type, unit
Task: Fetch depth from snow_depth where depth is greater than the total of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057077 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: depth, type, level, lat
Sensor: pressure | fields: depth, qc, level, reading
Task: Fetch reading from rainfall where depth is greater than the total of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057078 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, lat, level, value
Sensor: evaporation | fields: level, ts, unit, lat
Task: Get level from visibility where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057079 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, type, depth, level
Sensor: cloud_cover | fields: reading, value, level, depth
Task: Get lat from drought_index where unit appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057080 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: depth, qc, reading, ts
Sensor: snow_depth | fields: lat, qc, type, lon
Task: Fetch level from sunlight that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057081 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: qc, lat, reading, level
Sensor: evaporation | fields: lon, lat, depth, value
Task: Retrieve level from turbidity that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057082 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, ts, unit, level
Sensor: drought_index | fields: lat, qc, depth, value
Task: Fetch reading from cloud_cover where reading is greater than the minimum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057083 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: value, type, depth, unit
Sensor: drought_index | fields: lon, ts, reading, lat
Task: Fetch lon from turbidity where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057084 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, level, lat, reading
Sensor: rainfall | fields: lat, value, qc, ts
Task: Fetch value from humidity that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057085 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, unit, reading, qc
Sensor: pressure | fields: ts, value, reading, type
Task: Get lon from turbidity where unit appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057086 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, level, reading, unit
Sensor: lightning | fields: lat, lon, reading, level
Task: Get level from temperature where value exceeds the average value from lightning for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057087 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, unit, lat, value
Sensor: sunlight | fields: depth, value, qc, unit
Task: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057088 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lat, type, ts, value
Sensor: wind_speed | fields: type, qc, ts, level
Task: Retrieve lat from temperature that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057089 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: qc, type, lon, unit
Sensor: humidity | fields: ts, unit, lon, depth
Task: Fetch depth from turbidity where reading is greater than the maximum of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057090 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: qc, type, lat, reading
Sensor: uv_index | fields: unit, type, lon, qc
Task: Retrieve level from sunlight with depth above the COUNT(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057091 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: type, ts, unit, lon
Sensor: pressure | fields: type, depth, unit, ts
Task: Retrieve level from rainfall that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057092 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: qc, level, type, reading
Sensor: snow_depth | fields: lon, depth, lat, unit
Task: Retrieve depth from drought_index with depth above the AVG(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"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_057093 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: level, type, depth, unit
Sensor: frost | fields: reading, lat, value, qc
Task: Retrieve reading from lightning that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057094 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, unit, depth, qc
Sensor: pressure | fields: value, qc, reading, depth
Task: Retrieve lon from soil_moisture with depth above the SUM(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057095 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: reading, type, unit, ts
Sensor: visibility | fields: depth, lat, unit, level
Task: Fetch reading from lightning that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057096 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, lon, qc, lat
Sensor: humidity | fields: lon, ts, level, reading
Task: Get lon from drought_index where qc appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057097 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: value, lon, reading, level
Sensor: cloud_cover | fields: depth, value, qc, type
Task: Fetch level from humidity where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057098 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: value, ts, lat, type
Sensor: soil_moisture | fields: value, lat, reading, depth
Task: Fetch lat from frost that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.