variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, type, qc, reading
Sensor: drought_index | fields: type, lon, qc, value
Task: Fetch lon from visibility that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077000 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: depth, unit, type, lon
Sensor: humidity | fields: type, unit, reading, depth
Task: Retrieve value from sunlight that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077001 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: value, qc, reading, ts
Sensor: wind_speed | fields: reading, depth, lon, lat
Task: Retrieve depth from lightning that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077002 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lat, qc, ts, depth
Sensor: cloud_cover | fields: qc, lat, level, lon
Task: Fetch lat from temperature where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077003 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, depth, level
Sensor: air_quality | fields: depth, ts, type, reading
Task: Fetch level from uv_index that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077004 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, value, ts, qc
Sensor: evaporation | fields: unit, value, depth, reading
Task: Get value from rainfall where unit appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077005 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, lat, qc, type
Sensor: frost | fields: level, depth, type, qc
Task: Fetch level from uv_index that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077006 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, qc, reading, type
Sensor: soil_moisture | fields: level, qc, unit, ts
Task: Get lon from temperature where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077007 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, value, type, unit
Sensor: dew_point | fields: lon, unit, ts, qc
Task: Fetch depth from humidity where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077008 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, level, depth, ts
Sensor: temperature | fields: lon, unit, lat, type
Task: Retrieve lon from turbidity with depth above the AVG(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077009 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, unit, ts, level
Sensor: pressure | fields: type, unit, value, lat
Task: Fetch lat from humidity that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077010 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: level, lon, value, ts
Sensor: visibility | fields: reading, unit, type, lon
Task: Fetch reading from drought_index where ts exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077011 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, qc, depth, value
Sensor: lightning | fields: value, lat, lon, ts
Task: Get lon from cloud_cover where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077012 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, lon, unit, reading
Sensor: visibility | fields: reading, ts, level, unit
Task: Retrieve value from uv_index with depth above the COUNT(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077013 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, level, value, lat
Sensor: wind_speed | fields: level, qc, type, lat
Task: Retrieve lon from drought_index whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077014 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, depth, unit, qc
Sensor: turbidity | fields: depth, level, reading, ts
Task: Retrieve lon from pressure with value above the COUNT(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077015 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: value, depth, type, ts
Sensor: visibility | fields: lon, level, type, value
Task: Fetch level from air_quality where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077016 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, lat, type, unit
Sensor: cloud_cover | fields: qc, depth, ts, level
Task: Fetch depth from visibility that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077017 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, unit, reading, ts
Sensor: frost | fields: reading, qc, unit, depth
Task: Retrieve depth from uv_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077018 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, lat, level, lon
Sensor: lightning | fields: ts, type, reading, qc
Task: Fetch lon from uv_index where reading is greater than the maximum of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077019 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, qc, level, unit
Sensor: rainfall | fields: reading, ts, lon, level
Task: Retrieve depth from frost whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077020 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, unit, reading, type
Sensor: drought_index | fields: level, lon, ts, depth
Task: Retrieve lon from turbidity whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077021 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, level, depth, ts
Sensor: pressure | fields: value, lon, unit, type
Task: Fetch level from visibility where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077022 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, unit, level, type
Sensor: snow_depth | fields: type, depth, value, lat
Task: Fetch lat from cloud_cover where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077023 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, depth, ts, unit
Sensor: pressure | fields: level, lat, lon, depth
Task: Retrieve value from air_quality whose type is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077024 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lon, qc, depth, lat
Sensor: cloud_cover | fields: ts, lat, unit, type
Task: Get lon from visibility where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077025 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, qc, lon, value
Sensor: turbidity | fields: lat, value, lon, level
Task: Get lat from drought_index where depth exceeds the maximum reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077026 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, type, depth, ts
Sensor: lightning | fields: reading, lat, value, level
Task: Retrieve lon from sunlight whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077027 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: reading, value, level, lat
Sensor: temperature | fields: value, type, reading, ts
Task: Fetch level from sunlight where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077028 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, depth, qc, lat
Sensor: rainfall | fields: type, value, ts, qc
Task: Fetch lon from snow_depth that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077029 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, type, lon, unit
Sensor: pressure | fields: type, depth, reading, qc
Task: Fetch value from temperature where value is greater than the minimum of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077030 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, unit, ts, value
Sensor: turbidity | fields: ts, type, qc, lat
Task: Get reading from lightning where depth exceeds the minimum depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077031 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, lat, unit, depth
Sensor: rainfall | fields: type, qc, reading, value
Task: Fetch value from frost where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077032 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, level, lat, value
Sensor: snow_depth | fields: type, lat, level, ts
Task: Retrieve reading from dew_point with depth above the MAX(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077033 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: value, ts, type, lat
Sensor: dew_point | fields: level, qc, lat, type
Task: Get reading from temperature where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077034 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, value, unit, qc
Sensor: temperature | fields: type, qc, lat, lon
Task: Retrieve reading from visibility with value above the SUM(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077035 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: depth, lat, reading, ts
Sensor: visibility | fields: lat, value, type, ts
Task: Get reading from humidity where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077036 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, ts, lon, level
Sensor: pressure | fields: value, unit, reading, type
Task: Fetch depth from humidity that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077037 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, value, reading, ts
Sensor: uv_index | fields: level, lon, lat, type
Task: Retrieve value from rainfall with reading above the AVG(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077038 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, value, level, depth
Sensor: rainfall | fields: lon, type, unit, lat
Task: Retrieve value from wind_speed that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077039 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: depth, unit, type, qc
Sensor: lightning | fields: reading, qc, lat, unit
Task: Retrieve value from temperature whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077040 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lat, lon, type, ts
Sensor: frost | fields: level, lat, reading, value
Task: Retrieve value from uv_index that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077041 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: value, type, level, depth
Sensor: evaporation | fields: level, qc, reading, lat
Task: Get depth from snow_depth where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077042 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, ts, value, depth
Sensor: rainfall | fields: lat, ts, type, lon
Task: Get value from visibility where unit appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077043 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, type, level, value
Sensor: cloud_cover | fields: level, qc, ts, lon
Task: Get lon from pressure where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077044 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lat, ts, value, level
Sensor: pressure | fields: depth, lat, type, reading
Task: Get value from uv_index where reading exceeds the total depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"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_077045 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, type, unit, depth
Sensor: temperature | fields: value, depth, reading, qc
Task: Retrieve reading from air_quality with value above the MAX(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077046 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: unit, type, reading, level
Sensor: lightning | fields: type, qc, unit, reading
Task: Fetch lon from humidity where value is greater than the count of of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077047 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, unit, value, ts
Sensor: humidity | fields: value, unit, qc, lat
Task: Get level from pressure where reading exceeds the total reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077048 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, lon, depth, ts
Sensor: humidity | fields: reading, level, type, unit
Task: Retrieve reading from uv_index whose ts is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077049 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, value, type, unit
Sensor: evaporation | fields: lat, qc, level, reading
Task: Retrieve lon from wind_speed that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077050 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, unit, level, qc
Sensor: sunlight | fields: type, depth, lon, reading
Task: Retrieve reading from cloud_cover whose qc is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077051 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: qc, ts, value, depth
Sensor: frost | fields: lat, value, type, level
Task: Get value from rainfall where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077052 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, value, reading, level
Sensor: visibility | fields: reading, qc, type, value
Task: Get lon from evaporation where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077053 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: type, unit, qc, reading
Sensor: drought_index | fields: level, lon, value, type
Task: Retrieve value from dew_point whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077054 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, lat, unit
Sensor: pressure | fields: lat, lon, reading, level
Task: Get depth from drought_index where reading exceeds the total reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077055 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: reading, ts, type, unit
Sensor: wind_speed | fields: ts, value, lat, reading
Task: Retrieve level from evaporation whose unit is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077056 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, unit, value, ts
Sensor: visibility | fields: level, value, lon, lat
Task: Fetch lat from humidity where qc exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077057 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, level, lon, reading
Sensor: soil_moisture | fields: depth, ts, unit, type
Task: Retrieve depth from drought_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077058 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: depth, level, reading, type
Sensor: rainfall | fields: lat, lon, type, qc
Task: Get depth from temperature where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077059 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, ts, value, qc
Sensor: rainfall | fields: qc, level, reading, unit
Task: Fetch level from temperature where qc exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077060 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, reading, level, unit
Sensor: rainfall | fields: qc, type, value, reading
Task: Retrieve level from soil_moisture with value above the COUNT(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077061 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, depth, ts, unit
Sensor: turbidity | fields: depth, reading, type, ts
Task: Get reading from drought_index where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077062 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, reading, value, lon
Sensor: sunlight | fields: level, reading, value, lat
Task: Get level from cloud_cover where value exceeds the maximum value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077063 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, qc, lon, lat
Sensor: uv_index | fields: reading, lat, type, depth
Task: Get lon from pressure where value exceeds the average depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077064 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lon, reading, ts
Sensor: rainfall | fields: depth, lat, value, reading
Task: Retrieve value from soil_moisture that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077065 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: reading, value, qc, lat
Sensor: turbidity | fields: qc, reading, depth, level
Task: Fetch lon from visibility where reading is greater than the total of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077066 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, lon, value, lat
Sensor: turbidity | fields: ts, qc, lon, level
Task: Get level from uv_index where depth appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077067 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, type, value, unit
Sensor: drought_index | fields: lat, level, value, type
Task: Get reading from cloud_cover where value exceeds the average reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077068 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, value, type, lat
Sensor: cloud_cover | fields: reading, unit, level, value
Task: Fetch level from sunlight where reading is greater than the total of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077069 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: unit, level, lat, qc
Sensor: rainfall | fields: ts, qc, lon, level
Task: Get reading from frost where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077070 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, ts, depth, lon
Sensor: wind_speed | fields: value, lat, unit, reading
Task: Retrieve value from lightning whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077071 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: unit, qc, lon, ts
Sensor: pressure | fields: unit, depth, type, qc
Task: Retrieve lon from temperature whose qc is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077072 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, ts, unit, lon
Sensor: evaporation | fields: unit, type, lon, lat
Task: Retrieve value from humidity that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077073 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, type, unit, ts
Sensor: snow_depth | fields: unit, reading, ts, qc
Task: Fetch reading from drought_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077074 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, qc, reading, ts
Sensor: soil_moisture | fields: lon, unit, value, depth
Task: Fetch value from wind_speed that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077075 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, value, depth, ts
Sensor: sunlight | fields: reading, ts, lon, unit
Task: Retrieve value from evaporation whose unit is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077076 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: reading, depth, level, ts
Sensor: rainfall | fields: value, unit, reading, qc
Task: Retrieve depth from air_quality with value above the COUNT(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
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": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077077 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: ts, level, qc, lon
Sensor: pressure | fields: qc, value, depth, ts
Task: Fetch level from sunlight that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077078 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, ts, type, qc
Sensor: visibility | fields: value, level, qc, unit
Task: Fetch lat from soil_moisture where reading is greater than the average of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077079 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, level, ts, unit
Sensor: lightning | fields: lon, lat, ts, unit
Task: Fetch reading from pressure where value is greater than the average of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077080 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, value, qc, type
Sensor: pressure | fields: depth, lat, value, ts
Task: Get lat from lightning where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077081 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, type, value, unit
Sensor: frost | fields: level, ts, lon, type
Task: Fetch lat from drought_index where value is greater than the count of of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"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_077082 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, depth, reading, lon
Sensor: frost | fields: lon, type, ts, unit
Task: Get value from temperature where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077083 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, ts, reading, depth
Sensor: lightning | fields: ts, lat, unit, value
Task: Retrieve value from uv_index that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077084 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, type, unit, depth
Sensor: uv_index | fields: lat, type, depth, ts
Task: Fetch depth from visibility where value is greater than the maximum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077085 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, level, unit, ts
Sensor: snow_depth | fields: depth, level, reading, lon
Task: Retrieve lon from temperature that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077086 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lat, reading, unit, level
Sensor: cloud_cover | fields: level, unit, depth, qc
Task: Get level from turbidity where ts appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077087 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, lat, value, reading
Sensor: cloud_cover | fields: depth, unit, lon, ts
Task: Retrieve level from turbidity that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077088 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, level, qc, lon
Sensor: drought_index | fields: level, lat, ts, value
Task: Fetch lon from turbidity where depth exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077089 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, level, lat, ts
Sensor: turbidity | fields: value, ts, depth, reading
Task: Get value from wind_speed where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077090 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, level, unit, lon
Sensor: cloud_cover | fields: reading, qc, level, lat
Task: Get lat from rainfall where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077091 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, ts, type, lon
Sensor: uv_index | fields: level, reading, lat, unit
Task: Get depth from soil_moisture where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077092 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, unit, depth, value
Sensor: soil_moisture | fields: reading, lon, value, unit
Task: Fetch lon from humidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077093 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: type, lon, reading, qc
Sensor: temperature | fields: ts, depth, type, level
Task: Get level from snow_depth where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077094 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, ts, level, lon
Sensor: wind_speed | fields: lon, depth, ts, level
Task: Fetch value from cloud_cover where value is greater than the average of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077095 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, lon, ts, type
Sensor: humidity | fields: reading, qc, value, lat
Task: Retrieve depth from frost whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077096 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, depth, unit, ts
Sensor: pressure | fields: level, depth, lon, qc
Task: Get level from lightning where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077097 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, level, reading, lon
Sensor: temperature | fields: value, lat, reading, ts
Task: Fetch lon from dew_point that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077098 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, lat, type, ts
Sensor: frost | fields: qc, unit, lat, lon
Task: Fetch level from drought_index that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.