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: cloud_cover | code: ref | fields: type, ts, reading, level
Sensor: soil_moisture | fields: lat, qc, value, level
Task: Retrieve lon from cloud_cover whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058900 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lat, unit, value
Sensor: humidity | fields: level, ts, depth, reading
Task: Get lon from snow_depth where depth exceeds the minimum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058901 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, reading, level, ts
Sensor: rainfall | fields: qc, unit, ts, value
Task: Get depth from pressure where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058902 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, ts, lon, lat
Sensor: uv_index | fields: ts, lon, qc, lat
Task: Retrieve reading from drought_index that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058903 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, reading, depth, unit
Sensor: turbidity | fields: level, ts, depth, value
Task: Retrieve lon from drought_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058904 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, level, ts, lon
Sensor: cloud_cover | fields: lon, type, unit, level
Task: Get reading from wind_speed where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058905 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, lon, unit, ts
Sensor: air_quality | fields: unit, value, qc, level
Task: Get depth from uv_index where value exceeds the total value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058906 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, ts, level, value
Sensor: rainfall | fields: value, type, lat, level
Task: Get value from snow_depth where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058907 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, lon, lat, unit
Sensor: temperature | fields: level, qc, lat, reading
Task: Retrieve level from uv_index whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058908 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, value, type, ts
Sensor: evaporation | fields: depth, type, level, lon
Task: Get reading from drought_index where depth exceeds the count of reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058909 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lon, level, qc, ts
Sensor: snow_depth | fields: ts, lon, type, level
Task: Fetch value from frost where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058910 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: value, level, reading, lat
Sensor: uv_index | fields: type, ts, unit, lon
Task: Fetch value from lightning that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058911 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, lon, ts, lat
Sensor: soil_moisture | fields: depth, type, lon, unit
Task: Get lon from uv_index where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058912 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, value, level, type
Sensor: dew_point | fields: value, reading, depth, unit
Task: Fetch lon from visibility where reading is greater than the minimum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058913 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, value, ts, lat
Sensor: pressure | fields: reading, level, type, value
Task: Retrieve lon from air_quality that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058914 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: value, unit, ts, reading
Sensor: frost | fields: type, lon, reading, value
Task: Retrieve lon from evaporation with reading above the AVG(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058915 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: unit, level, value, qc
Sensor: turbidity | fields: depth, ts, reading, qc
Task: Get lon from drought_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058916 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lon, value, type, lat
Sensor: evaporation | fields: unit, ts, qc, type
Task: Retrieve lat from pressure that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058917 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, value, reading, qc
Sensor: humidity | fields: value, type, lon, reading
Task: Retrieve lat from drought_index with value above the AVG(reading) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058918 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, reading, lon, ts
Sensor: pressure | fields: ts, level, lat, unit
Task: Fetch reading from rainfall where depth exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058919 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, lon, level, lat
Sensor: uv_index | fields: value, qc, lat, depth
Task: Get lat from cloud_cover where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058920 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, depth, value, lon
Sensor: soil_moisture | fields: value, qc, depth, level
Task: Retrieve value from dew_point that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058921 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, type, level, qc
Sensor: air_quality | fields: unit, ts, reading, type
Task: Retrieve lat from visibility whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058922 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, level, reading, lon
Sensor: evaporation | fields: level, value, qc, type
Task: Fetch level from humidity where depth is greater than the total of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058923 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, value, depth, type
Sensor: drought_index | fields: depth, reading, lat, ts
Task: Fetch lon from pressure that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058924 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, value, reading, ts
Sensor: lightning | fields: qc, lon, lat, level
Task: Get depth from pressure where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058925 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: depth, reading, lon, value
Sensor: sunlight | fields: lat, unit, lon, type
Task: Fetch depth from humidity that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058926 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, ts, value, lat
Sensor: drought_index | fields: unit, lat, lon, value
Task: Get lon from humidity where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058927 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: level, qc, reading, lon
Sensor: temperature | fields: type, reading, depth, lon
Task: Get value from lightning where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058928 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, depth, unit, qc
Sensor: dew_point | fields: ts, lon, value, lat
Task: Get level from air_quality where qc appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058929 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, level, ts, depth
Sensor: rainfall | fields: unit, lat, qc, reading
Task: Fetch depth from sunlight where reading is greater than the minimum of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058930 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: ts, reading, lat, depth
Sensor: temperature | fields: value, type, qc, ts
Task: Fetch depth from air_quality where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058931 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: type, lat, unit, reading
Sensor: visibility | fields: level, lon, reading, ts
Task: Get value from temperature where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058932 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: reading, lat, level, value
Sensor: visibility | fields: qc, unit, level, value
Task: Retrieve lat from temperature whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058933 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lat, level, qc, lon
Sensor: evaporation | fields: reading, lat, ts, type
Task: Get lon from sunlight where depth exceeds the total depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058934 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, reading, unit, ts
Sensor: humidity | fields: ts, qc, unit, depth
Task: Retrieve lon from temperature whose ts is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058935 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, qc, reading, lat
Sensor: evaporation | fields: lat, ts, qc, type
Task: Get value from cloud_cover where depth exceeds the total depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058936 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, ts, lat, qc
Sensor: lightning | fields: level, type, lat, depth
Task: Fetch level from visibility that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058937 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: ts, reading, depth, unit
Sensor: cloud_cover | fields: reading, value, type, unit
Task: Fetch lat from rainfall where depth is greater than the count of of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058938 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lon, reading, unit, qc
Sensor: temperature | fields: type, ts, depth, lon
Task: Fetch lat from evaporation where depth is greater than the total of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058939 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, level, lon, type
Sensor: air_quality | fields: value, unit, level, qc
Task: Retrieve lat from uv_index that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058940 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: level, depth, qc, lon
Sensor: drought_index | fields: type, depth, lat, value
Task: Get lon from temperature where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058941 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, type, reading, depth
Sensor: cloud_cover | fields: depth, value, unit, reading
Task: Retrieve lon from snow_depth that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058942 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, type, reading, depth
Sensor: turbidity | fields: type, reading, unit, value
Task: Fetch reading from rainfall where value is greater than the average of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058943 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, qc, lon, value
Sensor: humidity | fields: depth, ts, unit, value
Task: Get lat from evaporation where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058944 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, ts, depth, lon
Sensor: drought_index | fields: level, qc, depth, unit
Task: Retrieve depth from rainfall that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058945 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: depth, lon, qc, type
Sensor: sunlight | fields: lat, type, qc, level
Task: Retrieve value from pressure whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058946 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, lat, ts, value
Sensor: visibility | fields: reading, level, value, ts
Task: Fetch lon from cloud_cover where value is greater than the total of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058947 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, lon, level, type
Sensor: dew_point | fields: level, reading, lon, lat
Task: Get level from wind_speed where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058948 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, lat, ts, depth
Sensor: temperature | fields: lat, unit, qc, level
Task: Get lon from lightning where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058949 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, unit, reading, level
Sensor: cloud_cover | fields: value, lat, unit, lon
Task: Retrieve depth from turbidity with reading above the MIN(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058950 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: qc, depth, value, reading
Sensor: cloud_cover | fields: reading, lat, ts, lon
Task: Fetch depth from pressure that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058951 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lat, qc, ts
Sensor: frost | fields: reading, type, ts, unit
Task: Fetch value from rainfall that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058952 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, depth, reading, lon
Sensor: humidity | fields: ts, lat, qc, level
Task: Fetch depth from frost where depth is greater than the average of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058953 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, reading, depth, qc
Sensor: uv_index | fields: lat, unit, lon, qc
Task: Get reading from frost where reading exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058954 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, reading, level, ts
Sensor: pressure | fields: lat, level, unit, value
Task: Retrieve lat from snow_depth that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058955 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, value, level, type
Sensor: snow_depth | fields: depth, lat, reading, value
Task: Retrieve reading from sunlight whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058956 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, lon, value, ts
Sensor: dew_point | fields: lat, value, reading, type
Task: Get lon from drought_index where reading exceeds the maximum value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058957 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lon, reading, lat, type
Sensor: sunlight | fields: depth, value, lon, ts
Task: Retrieve depth from pressure whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058958 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lat, depth, value, lon
Sensor: evaporation | fields: lon, ts, qc, reading
Task: Retrieve level from humidity whose type is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058959 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, level, ts, value
Sensor: lightning | fields: unit, ts, value, reading
Task: Fetch value from snow_depth where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058960 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, type, depth, lon
Sensor: snow_depth | fields: level, lat, lon, type
Task: Fetch level from humidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058961 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, level, unit, ts
Sensor: frost | fields: unit, level, value, depth
Task: Fetch lat from snow_depth that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058962 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, lon, qc, unit
Sensor: visibility | fields: type, lat, unit, ts
Task: Retrieve reading from snow_depth whose qc is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058963 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, qc, ts, unit
Sensor: wind_speed | fields: depth, reading, level, type
Task: Get lat from temperature where value exceeds the average reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058964 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, lat, type, reading
Sensor: turbidity | fields: type, lat, ts, level
Task: Retrieve value from frost whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058965 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, value, lat, depth
Sensor: humidity | fields: type, reading, lon, level
Task: Get lon from air_quality where type appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058966 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: depth, reading, unit, ts
Sensor: turbidity | fields: lat, depth, qc, level
Task: Fetch value from uv_index where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058967 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, depth, reading, ts
Sensor: cloud_cover | fields: lat, depth, lon, qc
Task: Get value from drought_index where reading exceeds the minimum reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058968 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, lon, depth, level
Sensor: humidity | fields: ts, depth, unit, lon
Task: Retrieve lat from rainfall with value above the COUNT(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058969 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, level, qc, type
Sensor: soil_moisture | fields: type, depth, lat, level
Task: Retrieve level from temperature that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058970 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, type, value, lon
Sensor: humidity | fields: lat, level, value, type
Task: Get reading from cloud_cover where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058971 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: value, lat, ts, qc
Sensor: sunlight | fields: ts, reading, value, lat
Task: Get depth from visibility where depth exceeds the total reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058972 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, unit, depth, ts
Sensor: evaporation | fields: depth, qc, reading, type
Task: Get value from pressure where qc appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058973 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, type, unit, value
Sensor: drought_index | fields: qc, reading, depth, lon
Task: Fetch level from visibility that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058974 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, value, lat, unit
Sensor: rainfall | fields: depth, unit, value, reading
Task: Get depth from snow_depth where reading exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058975 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, unit, type, depth
Sensor: air_quality | fields: level, qc, lat, type
Task: Retrieve reading from temperature with depth above the MAX(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058976 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, reading, type, unit
Sensor: drought_index | fields: lon, value, type, reading
Task: Retrieve level from uv_index with reading above the MIN(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058977 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, ts, level, value
Sensor: dew_point | fields: qc, reading, type, depth
Task: Fetch reading from humidity where depth is greater than the count of of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"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_058978 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, lon, depth, qc
Sensor: frost | fields: reading, level, ts, lat
Task: Retrieve depth from lightning whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058979 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: qc, value, unit, lon
Sensor: temperature | fields: reading, ts, level, value
Task: Fetch level from drought_index where reading is greater than the maximum of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058980 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, lat, depth, unit
Sensor: soil_moisture | fields: ts, lat, lon, unit
Task: Fetch level from uv_index where value is greater than the average of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058981 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, lon, unit, value
Sensor: air_quality | fields: unit, value, ts, depth
Task: Retrieve level from uv_index whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058982 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, level, ts, value
Sensor: air_quality | fields: value, ts, depth, unit
Task: Retrieve value from wind_speed with reading above the COUNT(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058983 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, reading, value, level
Sensor: cloud_cover | fields: qc, type, lon, unit
Task: Retrieve level from drought_index that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058984 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, lat, level, type
Sensor: humidity | fields: reading, qc, type, depth
Task: Fetch lon from visibility where ts exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058985 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, unit, qc, level
Sensor: drought_index | fields: lat, qc, ts, level
Task: Retrieve lon from cloud_cover whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058986 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, lon, depth, qc
Sensor: cloud_cover | fields: lon, depth, lat, qc
Task: Retrieve reading from lightning whose ts is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058987 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: value, lat, qc, lon
Sensor: soil_moisture | fields: unit, level, type, ts
Task: Fetch lat from visibility where unit exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058988 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, lon, lat, level
Sensor: temperature | fields: depth, unit, lat, qc
Task: Retrieve value from air_quality whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058989 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: depth, ts, qc, lat
Sensor: wind_speed | fields: ts, reading, depth, lat
Task: Fetch level from humidity where depth is greater than the minimum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058990 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: reading, depth, value, type
Sensor: visibility | fields: qc, level, reading, depth
Task: Get lon from temperature where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058991 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: qc, lat, lon, unit
Sensor: soil_moisture | fields: depth, level, reading, ts
Task: Fetch value from temperature where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058992 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: qc, lon, level, depth
Sensor: humidity | fields: qc, reading, lat, lon
Task: Retrieve value from frost with depth above the COUNT(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058993 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, reading, level, qc
Sensor: soil_moisture | fields: reading, depth, ts, level
Task: Fetch depth from cloud_cover where depth exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058994 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, depth, lon, level
Sensor: temperature | fields: depth, ts, level, unit
Task: Fetch reading from drought_index that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058995 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, unit, qc, level
Sensor: uv_index | fields: level, depth, ts, type
Task: Get level from sunlight where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058996 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: level, value, depth, unit
Sensor: dew_point | fields: level, depth, reading, type
Task: Fetch level from turbidity where depth is greater than the total of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058997 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, ts, level, depth
Sensor: sunlight | fields: ts, reading, qc, depth
Task: Retrieve value from evaporation whose qc is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058998 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, value, type, depth
Sensor: sunlight | fields: type, depth, value, reading
Task: Fetch depth from humidity where value is greater than the total of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.