variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, qc, depth, lon
Sensor: snow_depth | fields: ts, reading, qc, lon
Task: Get reading from drought_index where value exceeds the average reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046400 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, level, reading, lat
Sensor: air_quality | fields: depth, ts, lat, type
Task: Fetch lat from soil_moisture where depth is greater than the total of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046401 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, type, reading, unit
Sensor: sunlight | fields: depth, lon, type, reading
Task: Get level from air_quality where qc appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046402 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, depth, ts, unit
Sensor: temperature | fields: ts, level, reading, unit
Task: Retrieve value from snow_depth whose depth is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046403 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, reading, lon, depth
Sensor: temperature | fields: lat, lon, unit, type
Task: Retrieve depth from soil_moisture with reading above the SUM(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046404 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, level, reading, unit
Sensor: humidity | fields: depth, reading, level, type
Task: Retrieve value from pressure whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046405 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, ts, type, lat
Sensor: pressure | fields: unit, qc, type, lon
Task: Fetch reading from temperature that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046406 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, type, lat, qc
Sensor: lightning | fields: lat, unit, qc, lon
Task: Get lon from evaporation where unit appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046407 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, lat, unit, value
Sensor: evaporation | fields: reading, unit, level, value
Task: Retrieve reading from lightning whose type is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046408 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, value, type, level
Sensor: air_quality | fields: lat, qc, depth, lon
Task: Retrieve value from temperature with value above the AVG(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046409 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, lon, qc, level
Sensor: air_quality | fields: level, qc, ts, lat
Task: Get lat from uv_index where reading exceeds the average depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046410 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, lat, lon, unit
Sensor: wind_speed | fields: ts, type, lat, value
Task: Get depth from air_quality where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046411 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, lat, qc, reading
Sensor: drought_index | fields: reading, value, lat, lon
Task: Fetch reading from temperature that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046412 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, type, depth, reading
Sensor: evaporation | fields: lat, value, reading, level
Task: Fetch lon from snow_depth where depth is greater than the average of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046413 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, ts, value, lon
Sensor: evaporation | fields: type, value, qc, level
Task: Retrieve depth from uv_index whose depth is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046414 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, value, qc, level
Sensor: rainfall | fields: lat, reading, unit, value
Task: Get value from air_quality where reading exceeds the total reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046415 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, qc, level, reading
Sensor: wind_speed | fields: level, ts, type, lat
Task: Fetch level from sunlight that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046416 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, value, type, reading
Sensor: temperature | fields: lat, unit, type, qc
Task: Fetch level from wind_speed that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046417 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, level, unit, ts
Sensor: soil_moisture | fields: type, unit, value, ts
Task: Get level from dew_point where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046418 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, reading, lon, lat
Sensor: sunlight | fields: type, unit, qc, value
Task: Get level from evaporation where depth exceeds the maximum value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046419 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, ts, depth, lon
Sensor: turbidity | fields: type, depth, reading, level
Task: Fetch value from cloud_cover that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046420 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lon, reading, value, qc
Sensor: lightning | fields: lon, qc, depth, value
Task: Retrieve level from turbidity whose type is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046421 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, unit, reading, type
Sensor: sunlight | fields: reading, unit, lon, ts
Task: Retrieve depth from wind_speed with reading above the MIN(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"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_046422 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: type, lat, lon, qc
Sensor: sunlight | fields: value, qc, level, unit
Task: Fetch lat from dew_point where reading is greater than the average of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046423 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: qc, depth, unit, ts
Sensor: temperature | fields: reading, unit, type, level
Task: Get level from turbidity where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046424 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, ts, depth, value
Sensor: dew_point | fields: lat, qc, lon, level
Task: Retrieve reading from uv_index with reading above the AVG(value) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046425 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, reading, ts, level
Sensor: uv_index | fields: lon, unit, type, qc
Task: Retrieve level from soil_moisture that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046426 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: type, lon, unit, reading
Sensor: cloud_cover | fields: type, lon, ts, depth
Task: Fetch reading from evaporation where reading is greater than the count of of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046427 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, unit, reading, value
Sensor: lightning | fields: lat, value, unit, qc
Task: Fetch reading from uv_index where reading is greater than the maximum of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046428 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, ts, qc, depth
Sensor: rainfall | fields: lat, depth, unit, level
Task: Get lat from temperature where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046429 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lat, depth, lon, value
Sensor: uv_index | fields: depth, value, qc, ts
Task: Fetch lon from sunlight where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"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_046430 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lon, ts, unit, type
Sensor: soil_moisture | fields: type, lat, qc, ts
Task: Get lon from lightning where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046431 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: qc, ts, unit, reading
Sensor: turbidity | fields: reading, ts, level, type
Task: Get lon from sunlight where reading exceeds the average value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046432 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, value, type, lon
Sensor: humidity | fields: value, reading, unit, lon
Task: Retrieve lon from dew_point with reading above the AVG(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046433 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: level, reading, lat, depth
Sensor: lightning | fields: type, lon, unit, ts
Task: Retrieve lon from frost with value above the COUNT(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046434 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, level, unit, lat
Sensor: rainfall | fields: ts, lat, lon, qc
Task: Get reading from dew_point where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046435 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, lat, unit, level
Sensor: uv_index | fields: ts, lon, qc, unit
Task: Get depth from frost where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046436 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: unit, level, reading, depth
Sensor: cloud_cover | fields: level, qc, value, ts
Task: Fetch lon from uv_index where reading is greater than the count of of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046437 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, level, type, lat
Sensor: visibility | fields: qc, unit, lon, value
Task: Retrieve value from temperature whose type is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046438 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, reading, type, level
Sensor: sunlight | fields: value, type, lat, reading
Task: Fetch value from lightning where reading is greater than the count of of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046439 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, type, level, qc
Sensor: uv_index | fields: value, unit, lon, level
Task: Fetch level from dew_point where reading is greater than the minimum of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046440 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, lon, level, lat
Sensor: soil_moisture | fields: level, value, reading, lat
Task: Retrieve level from drought_index whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046441 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, qc, reading, unit
Sensor: air_quality | fields: qc, level, type, ts
Task: Fetch lat from visibility that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046442 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: type, unit, ts, level
Sensor: drought_index | fields: level, qc, type, reading
Task: Get lat from frost where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046443 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: level, value, qc, ts
Sensor: uv_index | fields: reading, lat, value, type
Task: Get value from turbidity where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046444 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, level, lat, unit
Sensor: uv_index | fields: depth, value, lon, qc
Task: Fetch level from frost that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046445 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: type, reading, depth, unit
Sensor: snow_depth | fields: ts, reading, depth, lat
Task: Retrieve lat from wind_speed whose depth is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046446 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lat, level, qc, depth
Sensor: frost | fields: lon, level, type, ts
Task: Retrieve level from sunlight with reading above the MAX(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046447 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, value, lat, lon
Sensor: soil_moisture | fields: unit, value, ts, depth
Task: Get value from frost where reading exceeds the count of depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046448 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, unit, type, ts
Sensor: snow_depth | fields: type, depth, ts, lon
Task: Retrieve value from soil_moisture with depth above the SUM(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046449 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, qc, unit, ts
Sensor: drought_index | fields: level, qc, lon, ts
Task: Retrieve value from cloud_cover that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046450 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, depth, ts, unit
Sensor: frost | fields: level, value, depth, ts
Task: Retrieve value from wind_speed whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046451 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, unit, value, lat
Sensor: humidity | fields: lat, qc, level, value
Task: Fetch lat from lightning where value is greater than the maximum of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046452 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, reading, unit, value
Sensor: sunlight | fields: ts, reading, qc, type
Task: Retrieve depth from air_quality with depth above the MIN(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046453 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, lat, lon, type
Sensor: drought_index | fields: reading, value, lon, unit
Task: Retrieve depth from wind_speed whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046454 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, qc, ts
Sensor: rainfall | fields: type, level, qc, lat
Task: Retrieve value from sunlight that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046455 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lon, type, reading, qc
Sensor: temperature | fields: value, reading, depth, lon
Task: Fetch reading from visibility that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046456 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lon, depth, level, qc
Sensor: air_quality | fields: depth, level, qc, lon
Task: Fetch reading from drought_index that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046457 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: depth, type, ts, value
Sensor: dew_point | fields: lat, type, qc, lon
Task: Retrieve lon from drought_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046458 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: depth, ts, unit, reading
Sensor: humidity | fields: qc, depth, lon, type
Task: Retrieve reading from visibility whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046459 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: type, value, reading, lat
Sensor: snow_depth | fields: ts, qc, lat, type
Task: Get lat from evaporation where unit appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046460 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: reading, lat, level, value
Sensor: lightning | fields: depth, type, lon, reading
Task: Retrieve lon from visibility that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046461 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, lat, depth, reading
Sensor: cloud_cover | fields: reading, lat, value, depth
Task: Get level from rainfall where value exceeds the total reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046462 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: value, depth, qc, unit
Sensor: lightning | fields: depth, ts, unit, lat
Task: Get lon from sunlight where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046463 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: reading, unit, lat, level
Sensor: drought_index | fields: type, lon, value, depth
Task: Fetch value from humidity that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046464 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, value, level, depth
Sensor: humidity | fields: depth, qc, lon, unit
Task: Retrieve level from drought_index whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046465 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: ts, lon, depth, level
Sensor: visibility | fields: level, qc, lat, value
Task: Get reading from temperature where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046466 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, qc, value, ts
Sensor: pressure | fields: lon, qc, reading, ts
Task: Retrieve lat from sunlight that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046467 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, reading, qc, type
Sensor: evaporation | fields: type, reading, lat, qc
Task: Fetch depth from uv_index that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046468 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: type, level, qc, reading
Sensor: drought_index | fields: qc, unit, type, lat
Task: Retrieve reading from evaporation with depth above the MIN(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046469 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, unit, depth, lon
Sensor: rainfall | fields: type, lat, depth, lon
Task: Fetch reading from turbidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046470 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, lon, unit, level
Sensor: temperature | fields: reading, ts, lat, lon
Task: Retrieve depth from humidity with depth above the SUM(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046471 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: ts, reading, level, unit
Sensor: soil_moisture | fields: level, reading, depth, qc
Task: Get depth from turbidity where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046472 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, level, depth, value
Sensor: snow_depth | fields: ts, type, level, reading
Task: Get lat from wind_speed where type appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046473 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lon, level, lat, type
Sensor: wind_speed | fields: lon, depth, lat, reading
Task: Retrieve value from drought_index that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046474 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, lat, qc, lon
Sensor: evaporation | fields: unit, ts, depth, lon
Task: Get level from wind_speed where unit appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046475 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, type, lon, value
Sensor: pressure | fields: value, type, reading, level
Task: Get lon from temperature where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"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_046476 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, lat, lon
Sensor: cloud_cover | fields: lon, unit, level, ts
Task: Fetch lon from visibility where depth is greater than the minimum of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046477 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: ts, depth, lon, unit
Sensor: temperature | fields: lon, type, qc, lat
Task: Retrieve reading from humidity whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046478 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, ts, level, lon
Sensor: sunlight | fields: type, depth, unit, level
Task: Get lon from dew_point where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046479 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, ts, depth, value
Sensor: drought_index | fields: ts, value, level, depth
Task: Get reading from soil_moisture where value exceeds the total depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046480 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lat, depth, level
Sensor: drought_index | fields: depth, qc, unit, type
Task: Retrieve lat 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="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046481 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, lon, value, reading
Sensor: snow_depth | fields: type, lat, depth, level
Task: Get lon from wind_speed where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046482 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: ts, lon, type, reading
Sensor: evaporation | fields: lat, ts, type, reading
Task: Get lat from drought_index where depth appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046483 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: type, depth, ts, value
Sensor: visibility | fields: lat, depth, type, qc
Task: Get level from drought_index where depth appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046484 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: type, depth, unit, ts
Sensor: temperature | fields: lat, unit, lon, ts
Task: Fetch reading from drought_index where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046485 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, lon, level, value
Sensor: turbidity | fields: unit, value, level, ts
Task: Fetch lon from wind_speed where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046486 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: unit, ts, type, value
Sensor: turbidity | fields: type, level, value, reading
Task: Fetch level from evaporation that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046487 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: value, unit, ts, level
Sensor: snow_depth | fields: qc, value, type, reading
Task: Retrieve level from evaporation with value above the COUNT(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046488 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: ts, lat, depth, qc
Sensor: soil_moisture | fields: depth, value, lon, ts
Task: Retrieve reading from humidity whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046489 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: qc, value, level, lon
Sensor: wind_speed | fields: type, lat, level, ts
Task: Retrieve level from air_quality whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046490 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, reading, type, unit
Sensor: visibility | fields: lat, value, ts, lon
Task: Fetch level from frost where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046491 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, level, qc, lon
Sensor: temperature | fields: lon, depth, level, qc
Task: Retrieve value from uv_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046492 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, depth, reading, type
Sensor: uv_index | fields: lat, lon, qc, ts
Task: Retrieve lat from rainfall with reading above the COUNT(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046493 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: reading, level, value, depth
Sensor: air_quality | fields: type, depth, value, reading
Task: Get depth from dew_point where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_046494 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, value, depth, reading
Sensor: snow_depth | fields: level, depth, lat, unit
Task: Fetch reading from turbidity where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046495 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, depth, lon, lat
Sensor: snow_depth | fields: type, unit, lon, reading
Task: Retrieve lat from air_quality that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046496 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, reading, level, lon
Sensor: sunlight | fields: type, reading, qc, lon
Task: Retrieve reading from temperature that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046497 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: value, ts, lat, depth
Sensor: snow_depth | fields: ts, lon, value, lat
Task: Fetch depth from pressure where depth is greater than the total of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046498 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, ts, level, lat
Sensor: lightning | fields: value, reading, depth, lon
Task: Get lat from humidity where value exceeds the total reading from lightning for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_046499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.