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: frost | code: ref | fields: value, lon, level, depth
Sensor: uv_index | fields: unit, qc, reading, type
Task: Fetch level from frost where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041000 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: qc, unit, level, value
Sensor: drought_index | fields: ts, depth, lat, reading
Task: Get depth from dew_point where depth exceeds the maximum depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041001 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, level, qc, depth
Sensor: rainfall | fields: value, lon, depth, type
Task: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041002 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, unit, lon, level
Sensor: soil_moisture | fields: unit, type, level, qc
Task: Fetch reading from wind_speed where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041003 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lon, reading, unit, depth
Sensor: turbidity | fields: type, lat, unit, qc
Task: Get reading from evaporation where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041004 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: value, reading, type, unit
Sensor: frost | fields: depth, lat, value, reading
Task: Get lon from snow_depth where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041005 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, value, depth, level
Sensor: dew_point | fields: unit, reading, lon, value
Task: Retrieve lon from cloud_cover that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041006 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, reading, unit, lon
Sensor: rainfall | fields: lat, reading, lon, depth
Task: Retrieve level from air_quality with reading above the COUNT(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041007 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, qc, type, lat
Sensor: sunlight | fields: level, unit, reading, depth
Task: Retrieve lon from temperature whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041008 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lon, value, level
Sensor: wind_speed | fields: depth, qc, lon, reading
Task: Retrieve reading from turbidity with depth above the SUM(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041009 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, level, type, unit
Sensor: temperature | fields: unit, value, qc, type
Task: Retrieve level from cloud_cover whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041010 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lat, reading, unit, value
Sensor: uv_index | fields: type, qc, lat, reading
Task: Retrieve depth from dew_point whose qc is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041011 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: type, reading, value, lon
Sensor: humidity | fields: value, lon, reading, type
Task: Retrieve lon from evaporation that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041012 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lon, ts, lat, unit
Sensor: dew_point | fields: lon, unit, reading, level
Task: Retrieve value from uv_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041013 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lon, type, reading
Sensor: air_quality | fields: lat, type, value, level
Task: Fetch reading from dew_point where depth is greater than the average of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041014 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: value, level, unit, depth
Sensor: snow_depth | fields: lat, ts, unit, reading
Task: Fetch lat from wind_speed where reading is greater than the maximum of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041015 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, value, lon, lat
Sensor: air_quality | fields: depth, ts, lon, type
Task: Fetch value from evaporation where reading is greater than the minimum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041016 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, unit, level, value
Sensor: wind_speed | fields: qc, lon, value, type
Task: Get value from cloud_cover where value exceeds the average depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041017 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, level, type, reading
Sensor: drought_index | fields: depth, ts, lon, level
Task: Fetch reading from wind_speed where reading is greater than the total of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041018 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, type, qc, value
Sensor: turbidity | fields: reading, unit, value, level
Task: Retrieve reading from sunlight whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041019 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, unit, ts, lat
Sensor: drought_index | fields: unit, reading, level, qc
Task: Fetch depth from sunlight that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041020 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, type, ts, lat
Sensor: wind_speed | fields: lon, reading, unit, qc
Task: Fetch reading from snow_depth where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041021 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, value, lon, ts
Sensor: visibility | fields: value, ts, type, reading
Task: Fetch lon from pressure that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041022 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, type, unit, reading
Sensor: snow_depth | fields: unit, reading, level, lat
Task: Retrieve value from temperature whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041023 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, type, level, unit
Sensor: drought_index | fields: value, qc, ts, depth
Task: Get value from snow_depth where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041024 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, type, depth, reading
Sensor: pressure | fields: unit, lon, depth, qc
Task: Fetch value from air_quality that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041025 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, reading, value, lat
Sensor: temperature | fields: lon, level, ts, unit
Task: Get level from wind_speed where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041026 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, depth, value, lon
Sensor: snow_depth | fields: reading, ts, lat, type
Task: Fetch lat from frost where qc exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041027 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, reading, level, lon
Sensor: uv_index | fields: qc, reading, level, lon
Task: Retrieve lat from wind_speed that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041028 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: ts, reading, value, lat
Sensor: cloud_cover | fields: ts, lat, depth, lon
Task: Retrieve value from lightning with value above the SUM(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041029 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: qc, lat, reading, depth
Sensor: frost | fields: value, depth, reading, lat
Task: Get level from drought_index where reading exceeds the average value from frost for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041030 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: level, lon, depth, type
Sensor: cloud_cover | fields: lon, unit, value, lat
Task: Get level from humidity where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041031 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, depth, type, value
Sensor: soil_moisture | fields: level, reading, value, qc
Task: Fetch level from temperature where reading is greater than the maximum of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041032 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, lat, type, reading
Sensor: dew_point | fields: level, unit, depth, lon
Task: Retrieve reading from humidity whose depth is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041033 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, lat, ts
Sensor: uv_index | fields: ts, type, lon, unit
Task: Fetch reading from rainfall that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041034 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: ts, qc, level, lon
Sensor: air_quality | fields: level, reading, value, qc
Task: Fetch lon from sunlight where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041035 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, unit, value, lat
Sensor: drought_index | fields: type, depth, value, level
Task: Fetch lon from soil_moisture where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041036 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, value, lat, type
Sensor: temperature | fields: value, type, qc, unit
Task: Get lat from visibility where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041037 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: level, reading, qc, depth
Sensor: frost | fields: qc, unit, level, lat
Task: Retrieve reading from evaporation whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041038 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, depth, lon, qc
Sensor: wind_speed | fields: level, unit, reading, lat
Task: Get reading from soil_moisture where type appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041039 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, ts, lon, level
Sensor: snow_depth | fields: lon, ts, qc, reading
Task: Get lon from temperature where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041040 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, type, lon, qc
Sensor: wind_speed | fields: unit, lon, qc, value
Task: Fetch lat from visibility where unit exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041041 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, reading, unit, depth
Sensor: wind_speed | fields: ts, type, lon, qc
Task: Fetch depth from uv_index where value is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041042 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, value, lat, unit
Sensor: rainfall | fields: level, lon, reading, depth
Task: Retrieve value from cloud_cover with value above the MAX(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"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_041043 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: unit, type, lon, ts
Sensor: air_quality | fields: lon, qc, depth, level
Task: Fetch value from frost that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041044 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, type, reading, depth
Sensor: humidity | fields: lat, unit, qc, type
Task: Fetch value from frost that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041045 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, type, lon, lat
Sensor: wind_speed | fields: lon, ts, depth, unit
Task: Fetch lat from snow_depth that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041046 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: reading, value, qc, unit
Sensor: dew_point | fields: ts, depth, lat, reading
Task: Retrieve level from turbidity whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041047 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, value, type, level
Sensor: pressure | fields: level, unit, depth, type
Task: Fetch value from snow_depth where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041048 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, value, lon, lat
Sensor: soil_moisture | fields: value, depth, unit, qc
Task: Retrieve reading from rainfall whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041049 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, lat, qc, ts
Sensor: turbidity | fields: type, lon, depth, reading
Task: Fetch value from rainfall where depth exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041050 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, unit, reading, depth
Sensor: wind_speed | fields: lat, depth, ts, reading
Task: Fetch reading from cloud_cover where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041051 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, level, depth, qc
Sensor: turbidity | fields: ts, reading, depth, value
Task: Retrieve lon from lightning with reading above the COUNT(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041052 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, lat, qc, depth
Sensor: dew_point | fields: qc, ts, value, reading
Task: Retrieve level from sunlight that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041053 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, value, lat, qc
Sensor: dew_point | fields: unit, ts, depth, type
Task: Get lon from soil_moisture where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041054 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, reading, type, depth
Sensor: drought_index | fields: type, qc, reading, level
Task: Fetch reading from uv_index that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041055 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, qc, depth, unit
Sensor: humidity | fields: reading, lat, unit, depth
Task: Retrieve level from pressure with reading above the AVG(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041056 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: reading, level, ts, lat
Sensor: temperature | fields: lat, depth, unit, value
Task: Retrieve value from evaporation with reading above the MAX(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041057 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, depth, level, lon
Sensor: uv_index | fields: depth, level, type, ts
Task: Get depth from frost where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041058 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, qc, type, depth
Sensor: soil_moisture | fields: type, ts, lat, lon
Task: Retrieve level from turbidity that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041059 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, type, lon, ts
Sensor: visibility | fields: unit, ts, lon, qc
Task: Fetch lon from sunlight that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041060 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, level, value, lon
Sensor: rainfall | fields: reading, level, ts, lon
Task: Retrieve lon from lightning with reading above the MAX(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041061 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, reading, unit, value
Sensor: pressure | fields: ts, depth, lon, lat
Task: Fetch reading from turbidity where reading is greater than the maximum of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041062 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, unit, qc, lat
Sensor: cloud_cover | fields: reading, value, lon, depth
Task: Fetch value from uv_index where reading is greater than the count of of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041063 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, qc, level, type
Sensor: pressure | fields: type, unit, ts, reading
Task: Fetch level from snow_depth where value is greater than the count of of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041064 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, ts, reading, lon
Sensor: lightning | fields: reading, ts, qc, lon
Task: Fetch lat from soil_moisture where value is greater than the count of of value in lightning for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041065 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, type, ts, unit
Sensor: visibility | fields: type, level, qc, value
Task: Fetch reading from uv_index where value is greater than the count of of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041066 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, lat, level, type
Sensor: frost | fields: level, type, qc, lon
Task: Fetch depth from drought_index that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041067 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, type, value, lon
Sensor: rainfall | fields: type, ts, unit, depth
Task: Retrieve level from cloud_cover whose type is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041068 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, unit, qc, level
Sensor: visibility | fields: ts, unit, value, lon
Task: Get value from pressure where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041069 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, lon, qc, reading
Sensor: drought_index | fields: value, level, depth, lat
Task: Fetch level from soil_moisture where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041070 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, value, reading, type
Sensor: wind_speed | fields: reading, lon, depth, ts
Task: Get depth from air_quality where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041071 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, depth, lat, qc
Sensor: frost | fields: unit, type, ts, reading
Task: Retrieve value from wind_speed whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041072 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, lat, value, type
Sensor: temperature | fields: depth, unit, level, ts
Task: Fetch lat from snow_depth where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041073 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, lon, depth, level
Sensor: evaporation | fields: lat, qc, value, depth
Task: Fetch value from rainfall that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041074 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, reading, type, ts
Sensor: uv_index | fields: value, type, unit, reading
Task: Get reading from humidity where reading exceeds the total depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041075 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, depth, lat, value
Sensor: visibility | fields: type, lat, reading, depth
Task: Retrieve depth from turbidity that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041076 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, value, ts, lat
Sensor: cloud_cover | fields: level, type, lat, ts
Task: Fetch depth from rainfall where value is greater than the total of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041077 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, unit, lon, qc
Sensor: drought_index | fields: unit, reading, lon, qc
Task: Fetch reading from snow_depth where qc exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041078 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, lat, qc, ts
Sensor: uv_index | fields: level, unit, reading, qc
Task: Get value from snow_depth where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041079 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: qc, depth, type, reading
Sensor: humidity | fields: ts, value, type, lon
Task: Retrieve depth from turbidity that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041080 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, depth, lon, ts
Sensor: visibility | fields: value, unit, reading, type
Task: Get lon from pressure where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041081 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lon, unit, value, level
Sensor: rainfall | fields: unit, lat, reading, type
Task: Fetch level from pressure where depth is greater than the total of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041082 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lon, reading, type, level
Sensor: visibility | fields: qc, depth, lon, value
Task: Get reading from temperature where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041083 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, depth, unit, level
Sensor: uv_index | fields: lat, type, unit, ts
Task: Retrieve reading from turbidity whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041084 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, lat, type, qc
Sensor: air_quality | fields: ts, qc, value, level
Task: Retrieve lon from humidity that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041085 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, qc, ts, level
Sensor: temperature | fields: reading, type, qc, lon
Task: Get lon from humidity where ts appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041086 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: ts, depth, lon, qc
Sensor: air_quality | fields: level, lon, value, reading
Task: Retrieve value from lightning whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041087 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, reading, depth, qc
Sensor: drought_index | fields: reading, value, lat, depth
Task: Get lat from snow_depth where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041088 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, level, depth, qc
Sensor: visibility | fields: ts, lon, level, qc
Task: Get level from lightning where value exceeds the total depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041089 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, level, type, value
Sensor: rainfall | fields: lat, unit, value, level
Task: Get depth from wind_speed where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041090 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, ts, lon, type
Sensor: pressure | fields: level, unit, reading, ts
Task: Get lat from visibility where value exceeds the count of reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041091 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, ts, type, lon
Sensor: rainfall | fields: depth, reading, lat, qc
Task: Get value from snow_depth where qc appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041092 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, qc, unit, level
Sensor: air_quality | fields: unit, qc, type, lat
Task: Get lat from uv_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041093 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: ts, level, lon, unit
Sensor: humidity | fields: reading, lon, qc, unit
Task: Get depth from turbidity where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041094 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, ts, depth, reading
Sensor: air_quality | fields: lon, type, depth, value
Task: Fetch value from uv_index where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041095 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, lat, depth, lon
Sensor: rainfall | fields: unit, ts, depth, level
Task: Get reading from air_quality where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041096 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: level, unit, type, ts
Sensor: turbidity | fields: lat, unit, ts, qc
Task: Retrieve value from frost whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041097 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, reading, depth, level
Sensor: wind_speed | fields: qc, value, ts, unit
Task: Fetch lon from frost where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041098 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, type, value, lon
Sensor: temperature | fields: reading, depth, lat, unit
Task: Get lon from dew_point where value exceeds the count of reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.