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: humidity | code: gst | fields: lon, lat, ts, unit
Sensor: lightning | fields: type, lat, qc, ts
Task: Get lat from humidity where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043800 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: value, reading, type, lon
Sensor: visibility | fields: ts, reading, value, depth
Task: Retrieve reading from dew_point that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043801 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, qc, type, unit
Sensor: dew_point | fields: qc, depth, reading, unit
Task: Fetch lon from sunlight where depth is greater than the maximum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043802 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, qc, unit, level
Sensor: evaporation | fields: ts, reading, type, lat
Task: Get lat from turbidity where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043803 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, level, type, lat
Sensor: soil_moisture | fields: lat, type, unit, value
Task: Retrieve lon from air_quality whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043804 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, lon, value
Sensor: drought_index | fields: reading, lon, value, qc
Task: Fetch value from rainfall where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043805 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: value, level, depth, reading
Sensor: dew_point | fields: unit, depth, value, lon
Task: Fetch reading from wind_speed that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043806 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: value, qc, level, depth
Sensor: evaporation | fields: unit, depth, lat, value
Task: Retrieve depth from uv_index whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043807 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, lon, qc, reading
Sensor: lightning | fields: depth, reading, qc, type
Task: Retrieve reading from cloud_cover with reading above the AVG(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043808 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: unit, lon, reading, type
Sensor: drought_index | fields: lon, qc, unit, type
Task: Get depth from turbidity where reading exceeds the average depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043809 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, ts, qc, level
Sensor: turbidity | fields: reading, ts, lon, depth
Task: Retrieve lon from uv_index that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043810 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, reading, type, level
Sensor: temperature | fields: lon, type, depth, lat
Task: Get lon from lightning where depth appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043811 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, type, qc, ts
Sensor: wind_speed | fields: ts, unit, depth, lon
Task: Retrieve depth from humidity that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043812 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, lon, lat, reading
Sensor: cloud_cover | fields: lat, depth, level, ts
Task: Get value from snow_depth where value exceeds the count of reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043813 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, depth, unit, lat
Sensor: pressure | fields: qc, level, reading, ts
Task: Retrieve depth from visibility with value above the AVG(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043814 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, ts, depth, lon
Sensor: uv_index | fields: qc, lat, ts, depth
Task: Get lat from rainfall where depth appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043815 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lat, type, level, lon
Sensor: cloud_cover | fields: depth, unit, lon, reading
Task: Fetch lon from visibility where qc exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043816 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, qc, lat, lon
Sensor: cloud_cover | fields: reading, lon, type, ts
Task: Retrieve level from air_quality whose depth is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043817 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: value, qc, reading, depth
Sensor: rainfall | fields: level, value, lon, unit
Task: Retrieve value from visibility whose unit is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043818 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: qc, type, unit, level
Sensor: humidity | fields: depth, lon, reading, lat
Task: Fetch reading from rainfall where depth is greater than the minimum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043819 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, lon, value, unit
Sensor: wind_speed | fields: lat, depth, lon, unit
Task: Get value from drought_index where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043820 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, value, level, reading
Sensor: soil_moisture | fields: value, type, qc, ts
Task: Get level from rainfall where depth exceeds the minimum depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043821 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, level, qc, value
Sensor: air_quality | fields: level, depth, ts, qc
Task: Get reading from sunlight where value exceeds the maximum reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043822 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, unit, type, lat
Sensor: dew_point | fields: depth, reading, lat, unit
Task: Fetch depth from wind_speed where reading is greater than the count of of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043823 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: value, level, depth, type
Sensor: temperature | fields: value, depth, lon, reading
Task: Get value from dew_point where unit appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043824 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, value, ts, unit
Sensor: pressure | fields: lat, type, reading, value
Task: Retrieve lat from soil_moisture that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"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_043825 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: depth, lon, type, unit
Sensor: drought_index | fields: value, qc, reading, lon
Task: Get reading from pressure where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043826 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, level, lon, reading
Sensor: soil_moisture | fields: ts, type, qc, lat
Task: Fetch value from lightning where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043827 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: ts, type, lat, level
Sensor: soil_moisture | fields: qc, level, lat, depth
Task: Fetch value from uv_index where depth is greater than the average of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043828 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, value, lat, level
Sensor: lightning | fields: reading, ts, depth, value
Task: Fetch value from wind_speed where reading is greater than the average of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043829 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, ts, depth, type
Sensor: visibility | fields: value, ts, reading, unit
Task: Retrieve depth from snow_depth with reading above the SUM(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043830 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, depth, ts, level
Sensor: pressure | fields: qc, lon, level, reading
Task: Get level from dew_point where depth exceeds the count of value from pressure for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043831 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, depth, value, reading
Sensor: humidity | fields: depth, lat, level, reading
Task: Fetch level from drought_index where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043832 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lat, level, lon
Sensor: pressure | fields: value, depth, type, level
Task: Retrieve lon from cloud_cover that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043833 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: qc, level, value, depth
Sensor: humidity | fields: lat, type, level, lon
Task: Retrieve lon from drought_index whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043834 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: qc, value, type, level
Sensor: sunlight | fields: type, depth, value, qc
Task: Get value from uv_index where unit appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043835 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, type, lon, lat
Sensor: soil_moisture | fields: type, reading, qc, ts
Task: Get lat from evaporation where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043836 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: qc, lat, depth, reading
Sensor: snow_depth | fields: lat, level, value, unit
Task: Fetch level from evaporation that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043837 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: value, type, lat, depth
Sensor: uv_index | fields: ts, level, reading, unit
Task: Get reading from visibility where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043838 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, lon, ts, type
Sensor: frost | fields: value, depth, level, reading
Task: Retrieve depth from temperature whose unit is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043839 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lat, qc, value, reading
Sensor: lightning | fields: depth, qc, lat, type
Task: Retrieve lon from rainfall whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043840 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, depth, ts, reading
Sensor: sunlight | fields: ts, depth, unit, qc
Task: Get lat from dew_point where reading exceeds the minimum value from sunlight for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043841 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, lat, type, depth
Sensor: lightning | fields: depth, type, qc, reading
Task: Get lat from air_quality where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043842 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, unit, lat, level
Sensor: turbidity | fields: reading, lon, value, lat
Task: Get reading from cloud_cover where reading exceeds the maximum value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043843 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, value, type, lat
Sensor: lightning | fields: ts, reading, depth, lat
Task: Retrieve lon from rainfall that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043844 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: depth, type, value, reading
Sensor: humidity | fields: unit, level, lon, ts
Task: Fetch depth from sunlight where depth is greater than the count of of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043845 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, lon, unit, level
Sensor: evaporation | fields: value, lon, type, unit
Task: Get lon from rainfall where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043846 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: unit, value, lat, ts
Sensor: air_quality | fields: qc, depth, type, ts
Task: Get lat from turbidity where reading exceeds the maximum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043847 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: ts, reading, lat, qc
Sensor: soil_moisture | fields: reading, type, lat, ts
Task: Get lon from uv_index where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043848 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, depth, unit, type
Sensor: snow_depth | fields: lat, reading, value, ts
Task: Get level from frost where depth appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043849 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, qc, ts, lon
Sensor: humidity | fields: unit, value, ts, reading
Task: Fetch level from wind_speed that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043850 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, reading, ts, depth
Sensor: soil_moisture | fields: lat, level, unit, reading
Task: Get reading from pressure where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043851 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, reading, type, level
Sensor: evaporation | fields: lat, value, unit, ts
Task: Retrieve level from wind_speed that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043852 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, lat, ts, level
Sensor: sunlight | fields: lat, lon, ts, unit
Task: Fetch lat from air_quality where reading is greater than the average of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043853 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: value, ts, lon, depth
Sensor: lightning | fields: unit, reading, type, value
Task: Fetch level from rainfall where reading is greater than the count of of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"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_043854 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: qc, unit, value, ts
Sensor: turbidity | fields: lon, qc, type, depth
Task: Get depth from pressure where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043855 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, depth, qc, reading
Sensor: frost | fields: value, depth, unit, level
Task: Fetch depth from visibility where depth exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043856 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, qc, type, unit
Sensor: cloud_cover | fields: lon, qc, unit, ts
Task: Fetch level from air_quality where depth is greater than the maximum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043857 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: depth, lat, ts, reading
Sensor: lightning | fields: unit, level, reading, qc
Task: Get depth from sunlight where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043858 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, qc, value, unit
Sensor: dew_point | fields: type, reading, lat, level
Task: Retrieve value from snow_depth with value above the MAX(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043859 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, value, qc, reading
Sensor: lightning | fields: reading, lat, lon, value
Task: Retrieve level from cloud_cover whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043860 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: type, depth, lon, unit
Sensor: dew_point | fields: qc, lat, unit, reading
Task: Get lon from frost where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043861 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, value, level, depth
Sensor: lightning | fields: depth, lon, value, unit
Task: Get lon from uv_index where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043862 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, level, type, reading
Sensor: uv_index | fields: reading, lat, ts, depth
Task: Fetch depth from rainfall where value is greater than the minimum of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043863 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, ts, qc, unit
Sensor: uv_index | fields: lat, value, reading, type
Task: Get reading from lightning where depth appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043864 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lat, level, ts, qc
Sensor: temperature | fields: level, depth, reading, lat
Task: Get level from humidity where depth exceeds the count of value from temperature for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043865 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: level, depth, ts, lat
Sensor: drought_index | fields: reading, ts, type, lat
Task: Get value from evaporation where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043866 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, value, lon, qc
Sensor: evaporation | fields: ts, level, qc, type
Task: Fetch level from wind_speed that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043867 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, ts, qc, lat
Sensor: sunlight | fields: value, type, ts, reading
Task: Fetch value from uv_index where depth is greater than the average of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043868 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: ts, unit, level, depth
Sensor: visibility | fields: qc, ts, unit, value
Task: Fetch level from air_quality where depth is greater than the maximum of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043869 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lon, ts, reading, lat
Sensor: soil_moisture | fields: ts, reading, type, unit
Task: Retrieve reading from lightning whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043870 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lat, value, reading
Sensor: lightning | fields: level, type, depth, value
Task: Fetch level from air_quality that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043871 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: depth, qc, value, lat
Sensor: snow_depth | fields: lon, depth, value, qc
Task: Get reading from humidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043872 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, qc, unit, reading
Sensor: uv_index | fields: qc, level, lon, reading
Task: Get depth from rainfall where qc appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043873 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: level, unit, ts, value
Sensor: drought_index | fields: qc, unit, lat, level
Task: Get reading from uv_index where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043874 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: type, ts, depth, lon
Sensor: drought_index | fields: reading, depth, lat, lon
Task: Fetch reading from dew_point where depth exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043875 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, value, ts, type
Sensor: air_quality | fields: reading, depth, qc, value
Task: Get level from wind_speed where depth exceeds the minimum depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043876 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, qc, lat, lon
Sensor: soil_moisture | fields: unit, value, type, depth
Task: Get lat from uv_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043877 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, type, reading, lon
Sensor: cloud_cover | fields: depth, type, level, ts
Task: Fetch lat from rainfall where unit exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043878 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: reading, type, unit, ts
Sensor: humidity | fields: value, ts, lon, type
Task: Fetch lat from frost that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043879 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, value, depth, type
Sensor: rainfall | fields: unit, ts, qc, reading
Task: Fetch lat from pressure where value is greater than the maximum of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043880 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, depth, type, unit
Sensor: turbidity | fields: lat, unit, type, lon
Task: Get value from evaporation where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043881 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, type, lon, level
Sensor: snow_depth | fields: unit, depth, qc, reading
Task: Get value from wind_speed where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043882 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, reading, depth, lat
Sensor: evaporation | fields: qc, ts, unit, level
Task: Retrieve value from air_quality with reading above the AVG(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043883 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, lat, value, qc
Sensor: turbidity | fields: lon, reading, ts, type
Task: Retrieve value from air_quality with value above the MAX(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043884 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lon, lat, type
Sensor: air_quality | fields: lat, type, reading, lon
Task: Get level from rainfall where value exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043885 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, qc, depth, type
Sensor: evaporation | fields: type, unit, qc, level
Task: Retrieve value from lightning that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043886 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, value, qc, depth
Sensor: air_quality | fields: lon, reading, qc, lat
Task: Retrieve lon from cloud_cover whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043887 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, ts, depth, value
Sensor: dew_point | fields: value, type, lon, unit
Task: Fetch reading from snow_depth where reading is greater than the total of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043888 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: value, reading, lat, depth
Sensor: temperature | fields: level, unit, value, lat
Task: Fetch reading from wind_speed where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043889 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: qc, level, value, reading
Sensor: wind_speed | fields: lon, type, ts, unit
Task: Retrieve value from temperature whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043890 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: qc, reading, level, type
Sensor: air_quality | fields: ts, qc, lon, type
Task: Fetch lat from dew_point where unit exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043891 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, qc, value, reading
Sensor: drought_index | fields: reading, lon, lat, unit
Task: Get reading from snow_depth where depth exceeds the total reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043892 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, type, ts, value
Sensor: turbidity | fields: ts, value, type, unit
Task: Fetch lat from visibility that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043893 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, unit, lon, value
Sensor: dew_point | fields: reading, lon, ts, qc
Task: Retrieve reading from cloud_cover that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043894 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, qc, value, type
Sensor: uv_index | fields: reading, qc, lat, depth
Task: Retrieve level from turbidity that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043895 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: type, ts, depth, qc
Sensor: sunlight | fields: level, lat, value, unit
Task: Retrieve depth from evaporation whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043896 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, type, level, qc
Sensor: temperature | fields: unit, lon, lat, type
Task: Fetch lat from humidity where value is greater than the average of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043897 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, type, ts, lon
Sensor: soil_moisture | fields: value, unit, level, lat
Task: Get level from turbidity where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043898 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, type, lat, reading
Sensor: wind_speed | fields: lon, depth, type, lat
Task: Fetch depth from snow_depth where unit exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.