variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, unit, ts, level
Sensor: cloud_cover | fields: ts, lat, type, level
Task: Retrieve lon from uv_index whose type is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047200 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, qc, type, ts
Sensor: visibility | fields: reading, qc, type, ts
Task: Fetch depth from lightning where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047201 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, depth, qc, lon
Sensor: turbidity | fields: level, value, reading, unit
Task: Get reading from lightning where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047202 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, depth, reading, lat
Sensor: visibility | fields: depth, reading, unit, value
Task: Retrieve value from soil_moisture whose type is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047203 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: ts, type, unit, reading
Sensor: visibility | fields: qc, lon, ts, reading
Task: Get lon from sunlight where depth exceeds the average value from visibility for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047204 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, ts, value, type
Sensor: soil_moisture | fields: lat, unit, reading, value
Task: Retrieve lat from air_quality whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047205 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, lat, ts, depth
Sensor: humidity | fields: depth, type, lon, qc
Task: Retrieve value from sunlight with value above the SUM(reading) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047206 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, value, reading, qc
Sensor: evaporation | fields: reading, depth, qc, level
Task: Fetch reading from dew_point where depth is greater than the count of of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047207 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, lon, value, ts
Sensor: rainfall | fields: qc, unit, value, lat
Task: Fetch lat from wind_speed where value is greater than the average of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047208 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, level, lon, value
Sensor: rainfall | fields: reading, ts, value, unit
Task: Retrieve lat from cloud_cover with depth above the SUM(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047209 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: qc, type, lon, ts
Sensor: wind_speed | fields: reading, lon, depth, type
Task: Fetch depth from drought_index where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047210 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: level, reading, value, depth
Sensor: drought_index | fields: value, qc, ts, depth
Task: Retrieve lon from sunlight whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047211 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: reading, value, unit, lat
Sensor: dew_point | fields: reading, qc, ts, depth
Task: Retrieve level from temperature that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047212 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, value, lat, type
Sensor: drought_index | fields: qc, level, lon, lat
Task: Fetch value from frost where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047213 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lat, type, unit
Sensor: wind_speed | fields: unit, depth, reading, type
Task: Get lon from soil_moisture where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047214 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: depth, level, ts, reading
Sensor: air_quality | fields: unit, lon, value, qc
Task: Get value from sunlight where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047215 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, qc, value, level
Sensor: frost | fields: depth, qc, type, lon
Task: Get level from wind_speed where reading exceeds the count of reading from frost for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047216 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, lon, unit, level
Sensor: pressure | fields: depth, lon, qc, lat
Task: Get reading from cloud_cover where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047217 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, lat, depth, lon
Sensor: visibility | fields: reading, unit, value, level
Task: Retrieve lat from rainfall with reading above the MIN(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047218 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, ts, level, lon
Sensor: frost | fields: value, ts, type, qc
Task: Fetch value from uv_index where reading is greater than the minimum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047219 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, qc, level, reading
Sensor: temperature | fields: ts, unit, lat, type
Task: Fetch depth from uv_index where depth is greater than the maximum of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047220 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, lat, reading, depth
Sensor: humidity | fields: qc, type, lon, level
Task: Retrieve value from temperature with value above the MAX(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047221 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lat, qc, level, lon
Sensor: cloud_cover | fields: reading, type, level, lat
Task: Fetch lon from visibility where reading is greater than the maximum of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047222 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, lat, qc, type
Sensor: pressure | fields: type, unit, ts, depth
Task: Retrieve lat from dew_point whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047223 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, depth, level
Sensor: wind_speed | fields: depth, unit, level, qc
Task: Fetch reading from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047224 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, depth, level, type
Sensor: frost | fields: lat, qc, depth, lon
Task: Fetch lon from visibility where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047225 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: value, unit, reading, level
Sensor: wind_speed | fields: depth, reading, lon, type
Task: Retrieve level from dew_point whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047226 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, value, level, lat
Sensor: drought_index | fields: level, unit, qc, lon
Task: Fetch depth from air_quality that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047227 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, unit, value, ts
Sensor: uv_index | fields: lon, lat, ts, qc
Task: Get value from air_quality where depth exceeds the total depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047228 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, reading, type, level
Sensor: sunlight | fields: type, depth, ts, lat
Task: Retrieve level from drought_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047229 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, depth, level, reading
Sensor: soil_moisture | fields: lon, value, qc, type
Task: Get reading from rainfall where type appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047230 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, value, depth, unit
Sensor: temperature | fields: depth, lon, qc, lat
Task: Fetch value from pressure that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047231 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, reading, value, ts
Sensor: lightning | fields: qc, depth, lon, level
Task: Get depth from sunlight where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047232 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, ts, unit, qc
Sensor: snow_depth | fields: type, qc, value, unit
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047233 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, ts, level, lat
Sensor: pressure | fields: depth, lon, lat, ts
Task: Retrieve reading from air_quality that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047234 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lon, lat, ts, reading
Sensor: rainfall | fields: depth, qc, reading, level
Task: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047235 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, type, unit, level
Sensor: pressure | fields: type, reading, lat, lon
Task: Fetch value from snow_depth where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047236 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, lat, level, reading
Sensor: evaporation | fields: level, lat, reading, depth
Task: Retrieve depth from soil_moisture with reading above the MAX(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047237 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, lon, depth, type
Sensor: soil_moisture | fields: unit, lon, type, reading
Task: Get lon from cloud_cover where reading exceeds the average value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047238 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, ts, depth, type
Sensor: cloud_cover | fields: value, lon, level, reading
Task: Get reading from sunlight where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047239 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lon, level, depth, lat
Sensor: frost | fields: lon, reading, value, depth
Task: Get depth from evaporation where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047240 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lon, reading, ts
Sensor: dew_point | fields: level, depth, lon, value
Task: Get lat from air_quality where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047241 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, reading, lon, level
Sensor: lightning | fields: lon, qc, unit, depth
Task: Fetch lon from drought_index where ts exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047242 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, value, unit, lon
Sensor: wind_speed | fields: unit, level, reading, qc
Task: Retrieve depth from visibility whose unit is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047243 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, type, unit, ts
Sensor: temperature | fields: lon, depth, unit, reading
Task: Fetch depth from drought_index where ts exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047244 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, reading, lat, depth
Sensor: soil_moisture | fields: lon, level, reading, ts
Task: Fetch lat from pressure that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047245 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, lon, ts, unit
Sensor: soil_moisture | fields: ts, lon, unit, depth
Task: Fetch level from rainfall that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047246 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, lat, depth, type
Sensor: dew_point | fields: level, reading, value, ts
Task: Retrieve depth from uv_index whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047247 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, ts, type, depth
Sensor: temperature | fields: type, lon, ts, value
Task: Fetch lon from snow_depth that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047248 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: value, qc, lon, type
Sensor: wind_speed | fields: reading, lat, ts, qc
Task: Retrieve level from snow_depth that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047249 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, lon, depth, level
Sensor: turbidity | fields: depth, unit, ts, qc
Task: Get lat from dew_point where depth exceeds the maximum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047250 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, lat, unit, ts
Sensor: dew_point | fields: depth, lat, type, lon
Task: Retrieve depth from snow_depth that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047251 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, value, lat, ts
Sensor: cloud_cover | fields: depth, unit, lon, type
Task: Get value from uv_index where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047252 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, level, reading, type
Sensor: dew_point | fields: reading, value, type, depth
Task: Fetch value from humidity where depth is greater than the minimum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047253 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lon, ts, qc, value
Sensor: soil_moisture | fields: reading, depth, lat, value
Task: Retrieve value from temperature that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047254 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: depth, value, lat, qc
Sensor: temperature | fields: level, depth, lon, type
Task: Retrieve lon from humidity with depth above the MAX(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047255 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: value, unit, lon, lat
Sensor: lightning | fields: lon, type, unit, level
Task: Fetch level from dew_point where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047256 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, reading, ts, unit
Sensor: visibility | fields: ts, qc, unit, reading
Task: Get level from dew_point where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047257 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: depth, value, level, unit
Sensor: sunlight | fields: lon, value, type, lat
Task: Get lat from dew_point where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047258 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lat, value, type
Sensor: visibility | fields: lon, value, reading, unit
Task: Get depth from soil_moisture where reading exceeds the average reading from visibility for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047259 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, ts, level, depth
Sensor: snow_depth | fields: type, qc, reading, value
Task: Get level from air_quality where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047260 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, reading, depth, qc
Sensor: evaporation | fields: value, lon, unit, type
Task: Fetch lat from cloud_cover where value is greater than the average of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"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_047261 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: type, depth, level, lat
Sensor: dew_point | fields: value, unit, level, depth
Task: Get level from temperature where value exceeds the average value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047262 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, qc, reading, value
Sensor: pressure | fields: type, ts, depth, level
Task: Retrieve value from temperature with value above the AVG(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047263 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, ts, lat, unit
Sensor: pressure | fields: qc, lon, level, unit
Task: Get level from wind_speed where reading exceeds the minimum reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047264 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, depth, ts, reading
Sensor: turbidity | fields: unit, type, qc, depth
Task: Get value from cloud_cover where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047265 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, unit, lat, lon
Sensor: sunlight | fields: lon, unit, level, depth
Task: Retrieve lon from soil_moisture with value above the MIN(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047266 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, value, ts, level
Sensor: rainfall | fields: ts, qc, value, unit
Task: Get lon from soil_moisture where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047267 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: ts, lon, unit, qc
Sensor: pressure | fields: lat, depth, level, ts
Task: Fetch lon from visibility that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047268 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lat, unit, qc, level
Sensor: soil_moisture | fields: unit, qc, ts, level
Task: Retrieve lon from frost that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047269 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, unit, level, value
Sensor: humidity | fields: qc, type, lon, level
Task: Get depth from temperature where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047270 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: ts, type, level, unit
Sensor: evaporation | fields: ts, unit, value, depth
Task: Get lat from frost where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047271 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: ts, level, value, lat
Sensor: rainfall | fields: type, lat, depth, qc
Task: Fetch value from frost where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047272 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lon, depth, lat
Sensor: dew_point | fields: type, level, depth, value
Task: Retrieve value from wind_speed whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047273 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, lon, value, lat
Sensor: lightning | fields: unit, value, depth, type
Task: Fetch lon from turbidity where depth is greater than the maximum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047274 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, level, lat, reading
Sensor: drought_index | fields: lat, depth, reading, value
Task: Get reading from sunlight where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047275 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: value, type, unit, depth
Sensor: evaporation | fields: type, value, ts, unit
Task: Retrieve value from air_quality that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"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_047276 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, lon, reading, unit
Sensor: rainfall | fields: lat, reading, level, qc
Task: Retrieve value from dew_point whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047277 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lon, level, unit, type
Sensor: humidity | fields: unit, lat, value, ts
Task: Retrieve reading from pressure that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047278 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lat, depth, value
Sensor: temperature | fields: unit, depth, lat, reading
Task: Fetch reading from drought_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047279 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, unit, qc, level
Sensor: humidity | fields: unit, lat, depth, level
Task: Fetch lat from lightning that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047280 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, lon, type, qc
Sensor: drought_index | fields: type, reading, unit, lon
Task: Retrieve depth from snow_depth with depth above the SUM(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047281 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, qc, type, level
Sensor: rainfall | fields: value, type, unit, ts
Task: Get value from soil_moisture where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047282 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, unit, lon, ts
Sensor: dew_point | fields: lat, qc, unit, ts
Task: Get level from rainfall where value exceeds the average reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047283 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, lon, level, qc
Sensor: wind_speed | fields: type, depth, level, lon
Task: Fetch level from humidity where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047284 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, reading, lon, depth
Sensor: humidity | fields: lon, reading, qc, value
Task: Fetch lat from air_quality where value is greater than the average of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047285 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, unit, ts, reading
Sensor: rainfall | fields: reading, unit, depth, value
Task: Fetch level from sunlight where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047286 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: type, qc, reading, lon
Sensor: snow_depth | fields: value, unit, level, reading
Task: Get reading from pressure where value exceeds the total depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047287 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, level, type
Sensor: cloud_cover | fields: value, reading, depth, type
Task: Retrieve reading from air_quality whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047288 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, type, level, unit
Sensor: lightning | fields: value, level, lon, qc
Task: Fetch lon from snow_depth that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047289 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, unit, ts, level
Sensor: lightning | fields: qc, reading, unit, depth
Task: Fetch level from drought_index where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047290 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, lat, depth, type
Sensor: dew_point | fields: ts, lon, qc, lat
Task: Fetch value from humidity where value is greater than the minimum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047291 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, unit, depth, lon
Sensor: temperature | fields: value, qc, depth, ts
Task: Retrieve value from soil_moisture that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047292 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, unit, depth, ts
Sensor: drought_index | fields: type, reading, value, lat
Task: Fetch lat from temperature that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047293 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lat, type, reading
Sensor: temperature | fields: value, reading, type, lon
Task: Fetch level from soil_moisture that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047294 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, reading, depth, lat
Sensor: turbidity | fields: lon, value, depth, qc
Task: Fetch value from humidity where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047295 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: reading, lat, type, level
Sensor: wind_speed | fields: qc, ts, level, unit
Task: Fetch lat from turbidity where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047296 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, lat, unit, level
Sensor: visibility | fields: depth, unit, ts, value
Task: Get lon from soil_moisture where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047297 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: depth, qc, unit, type
Sensor: humidity | fields: qc, ts, lat, level
Task: Fetch value from temperature that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047298 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, reading, type, lat
Sensor: soil_moisture | fields: ts, type, lon, lat
Task: Fetch value from humidity where reading is greater than the maximum of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.