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: temperature | code: stn | fields: lat, value, depth, ts
Sensor: visibility | fields: qc, reading, level, ts
Task: Get level from temperature where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071900 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: value, unit, type, ts
Sensor: uv_index | fields: value, level, reading, unit
Task: Retrieve reading from frost that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071901 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lat, lon, level
Sensor: frost | fields: depth, lon, lat, reading
Task: Retrieve lon from visibility that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071902 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, type, value, ts
Sensor: dew_point | fields: qc, value, depth, type
Task: Retrieve depth from uv_index with depth above the AVG(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071903 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, unit, qc, lon
Sensor: sunlight | fields: reading, lon, unit, qc
Task: Fetch level from cloud_cover where depth is greater than the minimum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071904 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, value, depth
Sensor: drought_index | fields: lat, lon, qc, value
Task: Get lat from snow_depth where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071905 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, ts, lat, reading
Sensor: evaporation | fields: lat, lon, level, unit
Task: Get reading from cloud_cover where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071906 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, lat, unit, reading
Sensor: temperature | fields: level, lon, value, lat
Task: Get value from sunlight where value exceeds the maximum depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071907 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, ts, value, unit
Sensor: lightning | fields: level, qc, value, reading
Task: Retrieve lat from uv_index that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071908 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, ts, level, depth
Sensor: temperature | fields: level, type, lon, unit
Task: Fetch reading from soil_moisture where depth exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071909 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, depth, unit, lon
Sensor: humidity | fields: ts, lat, lon, value
Task: Fetch level from rainfall that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071910 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, ts, value, reading
Sensor: lightning | fields: level, value, ts, lat
Task: Fetch lon from drought_index where depth exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071911 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, unit, reading, lat
Sensor: lightning | fields: unit, qc, reading, value
Task: Get value from dew_point where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071912 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, reading, lon, lat
Sensor: turbidity | fields: lat, type, lon, value
Task: Fetch depth from uv_index where value is greater than the total of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071913 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: ts, depth, type, reading
Sensor: lightning | fields: ts, type, level, lat
Task: Fetch reading from temperature that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071914 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: level, lat, type, lon
Sensor: rainfall | fields: type, lon, reading, value
Task: Get lat from visibility where value exceeds the count of depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071915 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, reading, unit, depth
Sensor: uv_index | fields: qc, unit, ts, lon
Task: Fetch lon from air_quality where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071916 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, lat, reading, value
Sensor: humidity | fields: reading, ts, value, lon
Task: Retrieve depth from frost with value above the AVG(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071917 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, depth, ts, lon
Sensor: air_quality | fields: reading, lon, lat, unit
Task: Get reading from wind_speed where value exceeds the minimum value from air_quality for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071918 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: unit, lon, reading, qc
Sensor: visibility | fields: lon, reading, level, unit
Task: Get depth from turbidity where depth exceeds the average reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071919 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lat, value, level, unit
Sensor: sunlight | fields: lon, depth, reading, lat
Task: Get level from uv_index where depth exceeds the count of value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071920 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: level, value, ts, qc
Sensor: soil_moisture | fields: lat, qc, depth, value
Task: Fetch depth from snow_depth that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071921 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: qc, value, lon, unit
Sensor: air_quality | fields: lat, level, ts, reading
Task: Retrieve lat from frost with depth above the MIN(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071922 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, value, ts, type
Sensor: turbidity | fields: reading, value, unit, lat
Task: Fetch depth from temperature where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071923 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, depth, reading, qc
Sensor: pressure | fields: unit, value, lon, lat
Task: Get level from soil_moisture where unit appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071924 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, unit, ts, level
Sensor: rainfall | fields: ts, lon, qc, reading
Task: Get depth from evaporation where reading exceeds the maximum reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071925 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, depth, value, unit
Sensor: soil_moisture | fields: type, value, reading, lat
Task: Fetch depth from cloud_cover where type exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071926 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: value, lat, lon, reading
Sensor: frost | fields: level, ts, lon, reading
Task: Fetch lon from sunlight where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071927 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, value, lon, type
Sensor: snow_depth | fields: depth, type, value, lat
Task: Get reading from uv_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071928 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, unit, reading, lon
Sensor: sunlight | fields: lat, ts, reading, type
Task: Get reading from cloud_cover where reading exceeds the minimum reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071929 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, type, ts, level
Sensor: pressure | fields: type, depth, reading, lat
Task: Get value from sunlight where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071930 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, lon, depth, lat
Sensor: visibility | fields: unit, depth, reading, ts
Task: Fetch reading from air_quality where type exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071931 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, unit, lon, type
Sensor: rainfall | fields: level, qc, reading, lat
Task: Get lat from soil_moisture where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071932 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, unit, reading, lon
Sensor: sunlight | fields: lat, unit, level, lon
Task: Fetch depth from cloud_cover where value is greater than the total of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071933 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, level, qc, lat
Sensor: cloud_cover | fields: lat, reading, value, depth
Task: Retrieve reading from humidity with depth above the MIN(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071934 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: depth, type, reading, value
Sensor: air_quality | fields: lon, value, level, qc
Task: Get reading from evaporation where reading exceeds the average depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071935 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, lon, ts, level
Sensor: pressure | fields: type, qc, level, reading
Task: Fetch lon from temperature where value is greater than the minimum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071936 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lon, depth, qc
Sensor: turbidity | fields: level, lat, unit, depth
Task: Retrieve depth from cloud_cover with reading above the COUNT(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071937 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, level, type, lat
Sensor: uv_index | fields: lon, type, lat, ts
Task: Retrieve level from wind_speed that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071938 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: depth, ts, value, lon
Sensor: frost | fields: lon, depth, level, qc
Task: Fetch value from sunlight where type exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071939 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, lon, depth, reading
Sensor: humidity | fields: unit, ts, value, reading
Task: Get level from rainfall where value exceeds the maximum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071940 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, value, reading, type
Sensor: wind_speed | fields: qc, value, ts, lon
Task: Get lat from frost where depth appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071941 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, qc, unit, level
Sensor: rainfall | fields: qc, ts, value, lat
Task: Retrieve value from cloud_cover whose ts is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071942 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, qc, level, lon
Sensor: rainfall | fields: value, lat, type, reading
Task: Retrieve value from evaporation with depth above the MIN(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071943 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, lon, unit, ts
Sensor: pressure | fields: unit, type, lon, value
Task: Get value from turbidity where reading exceeds the average value from pressure for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071944 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, unit, lat, qc
Sensor: evaporation | fields: level, ts, lon, reading
Task: Fetch level from cloud_cover where depth is greater than the count of of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071945 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lat, depth, reading, qc
Sensor: cloud_cover | fields: depth, lon, type, unit
Task: Retrieve lon from sunlight whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071946 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, lat, ts, qc
Sensor: sunlight | fields: value, reading, qc, ts
Task: Fetch depth from turbidity where value is greater than the minimum of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071947 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, value, qc, reading
Sensor: dew_point | fields: reading, lon, type, ts
Task: Fetch depth from visibility where depth is greater than the average of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071948 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, lon, type, level
Sensor: uv_index | fields: lat, ts, unit, value
Task: Retrieve value from drought_index whose depth is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071949 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, qc, lon, depth
Sensor: uv_index | fields: depth, ts, reading, unit
Task: Get value from pressure where reading exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071950 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: ts, type, lon, depth
Sensor: drought_index | fields: qc, lat, reading, ts
Task: Fetch reading from evaporation where unit exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071951 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lat, value, unit, qc
Sensor: wind_speed | fields: lat, unit, depth, value
Task: Get level from dew_point where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071952 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, level, reading, unit
Sensor: cloud_cover | fields: ts, reading, unit, type
Task: Fetch reading from pressure that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071953 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, lat, ts, level
Sensor: snow_depth | fields: depth, type, ts, lat
Task: Retrieve reading from dew_point with depth above the MAX(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071954 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, qc, reading, lat
Sensor: turbidity | fields: ts, type, level, reading
Task: Retrieve level from frost with reading above the MIN(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071955 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: value, unit, lat, reading
Sensor: soil_moisture | fields: type, lon, lat, depth
Task: Get lat from drought_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071956 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, type, depth, qc
Sensor: air_quality | fields: level, qc, reading, type
Task: Fetch lon from temperature where value is greater than the minimum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071957 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: value, depth, lon, level
Sensor: sunlight | fields: lat, qc, ts, unit
Task: Fetch lon from lightning where depth is greater than the average of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"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_071958 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, depth, qc, ts
Sensor: uv_index | fields: level, unit, qc, ts
Task: Get value from air_quality where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071959 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, unit, ts, qc
Sensor: rainfall | fields: qc, lon, level, ts
Task: Fetch reading from soil_moisture where value is greater than the maximum of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071960 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lat, level, depth
Sensor: frost | fields: ts, lon, depth, unit
Task: Get depth from air_quality where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071961 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, ts, unit, level
Sensor: pressure | fields: level, value, lon, lat
Task: Fetch reading from lightning where depth is greater than the average of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071962 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: qc, lon, value, reading
Sensor: evaporation | fields: unit, ts, lon, level
Task: Retrieve depth from uv_index that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071963 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, type, ts, reading
Sensor: frost | fields: depth, unit, ts, qc
Task: Retrieve lon from uv_index with depth above the COUNT(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071964 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, unit, value, lat
Sensor: evaporation | fields: level, value, ts, lon
Task: Get level from snow_depth where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071965 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, reading, value, type
Sensor: temperature | fields: reading, lat, depth, lon
Task: Fetch value from snow_depth where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071966 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, reading, level, ts
Sensor: rainfall | fields: unit, depth, type, ts
Task: Get reading from evaporation where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071967 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, reading, ts, type
Sensor: air_quality | fields: lat, value, ts, qc
Task: Retrieve value from humidity that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071968 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, type, qc, level
Sensor: uv_index | fields: value, lon, qc, reading
Task: Fetch lat from soil_moisture where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071969 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, ts, value, depth
Sensor: humidity | fields: reading, lat, depth, type
Task: Retrieve lon from soil_moisture whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071970 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: value, level, type, lat
Sensor: drought_index | fields: lat, lon, type, ts
Task: Get reading from lightning where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071971 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, level, type, reading
Sensor: snow_depth | fields: reading, qc, unit, type
Task: Get lon from turbidity where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071972 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: ts, reading, depth, lat
Sensor: pressure | fields: qc, ts, depth, value
Task: Get lon from dew_point where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071973 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lat, lon, unit, type
Sensor: frost | fields: qc, value, unit, lon
Task: Retrieve lat from visibility whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071974 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, type, depth, ts
Sensor: frost | fields: unit, type, value, ts
Task: Fetch reading from air_quality that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071975 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, ts, depth, qc
Sensor: dew_point | fields: unit, type, value, reading
Task: Fetch lat from humidity that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071976 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, qc, unit, reading
Sensor: frost | fields: unit, value, type, depth
Task: Get lon from drought_index where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071977 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, qc, unit, reading
Sensor: cloud_cover | fields: lon, reading, level, value
Task: Fetch depth from visibility where depth is greater than the maximum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071978 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, reading, depth, type
Sensor: turbidity | fields: qc, type, reading, value
Task: Get reading from rainfall where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071979 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, qc, level, ts
Sensor: wind_speed | fields: lat, lon, value, level
Task: Get value from lightning where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071980 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, level, lon, depth
Sensor: turbidity | fields: depth, reading, qc, unit
Task: Get lat from pressure where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071981 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, value, lon, reading
Sensor: cloud_cover | fields: qc, reading, type, level
Task: Get value from soil_moisture where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071982 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lat, ts, unit, value
Sensor: cloud_cover | fields: value, lon, unit, level
Task: Retrieve lon from temperature that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071983 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: unit, level, lat, qc
Sensor: visibility | fields: unit, qc, lat, level
Task: Get lon from turbidity where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071984 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, ts, unit
Sensor: drought_index | fields: depth, level, reading, lon
Task: Get lat from snow_depth where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071985 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, depth, unit, ts
Sensor: soil_moisture | fields: qc, reading, lat, value
Task: Fetch depth from temperature where depth is greater than the count of of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071986 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, value, qc, lon
Sensor: dew_point | fields: reading, level, lat, unit
Task: Retrieve level from evaporation whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071987 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, value, lon, ts
Sensor: visibility | fields: level, lat, unit, qc
Task: Get lat from evaporation where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071988 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, level, value, lon
Sensor: cloud_cover | fields: lat, lon, value, reading
Task: Fetch lat from drought_index where value is greater than the count of of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071989 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, qc, unit, lat
Sensor: dew_point | fields: ts, unit, lon, type
Task: Get reading from cloud_cover where value exceeds the count of value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071990 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, lat, type, level
Sensor: lightning | fields: ts, lat, level, type
Task: Fetch reading from turbidity that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071991 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, depth, level, ts
Sensor: uv_index | fields: type, level, lon, ts
Task: Retrieve value from sunlight with depth above the MIN(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071992 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, level, qc, depth
Sensor: uv_index | fields: level, lat, qc, value
Task: Get lon from humidity where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071993 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, ts, type, unit
Sensor: visibility | fields: depth, level, lon, type
Task: Get lon from soil_moisture where reading exceeds the count of reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071994 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, level, value, lon
Sensor: air_quality | fields: type, depth, lon, qc
Task: Fetch level from turbidity where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071995 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, ts, depth, reading
Sensor: lightning | fields: type, reading, unit, lon
Task: Get reading from wind_speed where value exceeds the minimum value from lightning for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071996 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, lat, unit, value
Sensor: temperature | fields: ts, level, value, type
Task: Retrieve value from wind_speed with depth above the MIN(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071997 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, type, level, lon
Sensor: frost | fields: lon, lat, unit, ts
Task: Get lat from cloud_cover where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071998 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, type, depth, reading
Sensor: temperature | fields: unit, ts, level, reading
Task: Fetch lat from visibility where reading is greater than the maximum of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.