variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: ref | fields: qc, reading, value, type
Sensor: dew_point | fields: level, lat, reading, unit
Task: Fetch lon from frost that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"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_060300 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, reading, lat, level
Sensor: sunlight | fields: unit, lon, depth, level
Task: Retrieve reading from cloud_cover that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060301 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, value, lon, lat
Sensor: air_quality | fields: depth, lon, ts, qc
Task: Retrieve value from lightning with depth above the MIN(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060302 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, depth, lat, reading
Sensor: wind_speed | fields: qc, unit, reading, value
Task: Retrieve value from frost that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060303 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, depth, type, unit
Sensor: wind_speed | fields: unit, depth, level, reading
Task: Get lon from dew_point where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060304 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, value, reading, lat
Sensor: air_quality | fields: level, lat, value, qc
Task: Retrieve depth from soil_moisture whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060305 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, unit, level, lat
Sensor: air_quality | fields: value, reading, depth, lat
Task: Retrieve lat from frost that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060306 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, qc, ts
Sensor: soil_moisture | fields: ts, level, unit, lat
Task: Retrieve lon from cloud_cover whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060307 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, reading, lon, value
Sensor: cloud_cover | fields: unit, ts, qc, lon
Task: Get value from evaporation where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060308 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, ts, type, lat
Sensor: temperature | fields: level, ts, depth, value
Task: Fetch level 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="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060309 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: depth, ts, qc, unit
Sensor: evaporation | fields: lon, lat, value, depth
Task: Get value from humidity where value exceeds the count of reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060310 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, lat, ts, lon
Sensor: lightning | fields: lat, unit, value, qc
Task: Get reading from uv_index where reading exceeds the minimum depth from lightning for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060311 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, level, type, value
Sensor: air_quality | fields: lat, type, lon, reading
Task: Fetch level from wind_speed that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060312 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, depth, unit, value
Sensor: lightning | fields: ts, type, depth, lon
Task: Get depth from soil_moisture where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060313 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lat, level, reading, lon
Sensor: soil_moisture | fields: type, depth, unit, reading
Task: Get reading from temperature where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060314 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: level, lon, qc, ts
Sensor: pressure | fields: lon, ts, level, depth
Task: Get depth from visibility where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060315 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lon, qc, depth, lat
Sensor: turbidity | fields: value, level, lon, type
Task: Retrieve reading from dew_point with reading above the AVG(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060316 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, depth, unit, ts
Sensor: soil_moisture | fields: lon, unit, value, level
Task: Retrieve level from uv_index that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060317 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, lat, qc, value
Sensor: dew_point | fields: level, qc, depth, lon
Task: Fetch reading from humidity where ts exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060318 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, type, depth, value
Sensor: lightning | fields: qc, lat, value, depth
Task: Fetch level from temperature where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060319 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, lat, lon, type
Sensor: temperature | fields: reading, unit, type, value
Task: Fetch reading from uv_index where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060320 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: level, lon, lat, qc
Sensor: sunlight | fields: qc, value, lon, level
Task: Fetch reading from turbidity where reading is greater than the total of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060321 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, unit, depth, ts
Sensor: snow_depth | fields: level, qc, unit, lat
Task: Get lat from evaporation where unit appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060322 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, type, value, reading
Sensor: rainfall | fields: ts, lon, level, value
Task: Fetch lon from snow_depth where reading is greater than the maximum of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060323 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lon, ts, qc, unit
Sensor: turbidity | fields: lat, reading, level, qc
Task: Retrieve depth from pressure that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060324 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, unit, lat, level
Sensor: lightning | fields: unit, lon, qc, depth
Task: Get depth from pressure where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060325 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, reading, qc, lon
Sensor: turbidity | fields: type, level, reading, ts
Task: Get value from drought_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060326 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, lat, ts, unit
Sensor: wind_speed | fields: ts, depth, unit, type
Task: Retrieve lat from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060327 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, qc, level, ts
Sensor: temperature | fields: depth, unit, lon, lat
Task: Fetch lat from wind_speed where value is greater than the total of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060328 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, lon, unit, qc
Sensor: uv_index | fields: ts, level, lat, depth
Task: Fetch value from turbidity where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060329 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, ts, type, lon
Sensor: rainfall | fields: ts, lon, level, reading
Task: Fetch reading from lightning that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060330 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, unit, qc, reading
Sensor: pressure | fields: ts, value, lon, depth
Task: Get lon from frost where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060331 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: value, level, depth, type
Sensor: soil_moisture | fields: qc, value, depth, reading
Task: Get lon from snow_depth where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060332 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, value, unit, qc
Sensor: lightning | fields: depth, reading, level, type
Task: Fetch value from frost where depth is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060333 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: reading, type, qc, value
Sensor: drought_index | fields: lon, value, level, reading
Task: Fetch lon from sunlight where value is greater than the maximum of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060334 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, level, depth, lon
Sensor: temperature | fields: lon, type, reading, lat
Task: Get lat from pressure where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060335 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, qc, ts, lat
Sensor: uv_index | fields: qc, type, level, value
Task: Retrieve lat from frost with reading above the COUNT(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060336 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, value, depth, qc
Sensor: pressure | fields: lat, qc, unit, depth
Task: Fetch value from frost where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060337 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: ts, value, unit, lat
Sensor: sunlight | fields: lat, value, level, ts
Task: Get depth from turbidity where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060338 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: qc, unit, type, value
Sensor: humidity | fields: value, lat, qc, level
Task: Get lat from evaporation where value exceeds the count of reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060339 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, reading, depth, lon
Sensor: air_quality | fields: level, qc, depth, lon
Task: Fetch level from drought_index where reading is greater than the minimum of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060340 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: value, level, depth, lon
Sensor: humidity | fields: lat, qc, ts, level
Task: Fetch lon from turbidity where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060341 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, ts, reading, value
Sensor: sunlight | fields: reading, lon, lat, qc
Task: Fetch lat from humidity where depth is greater than the maximum of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060342 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: ts, unit, value, lon
Sensor: temperature | fields: value, level, reading, qc
Task: Retrieve lon from humidity with reading above the MIN(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060343 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: depth, type, unit, reading
Sensor: wind_speed | fields: unit, qc, lat, reading
Task: Get depth from temperature where reading exceeds the maximum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060344 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, level, value, unit
Sensor: evaporation | fields: qc, depth, level, lat
Task: Retrieve value from lightning whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060345 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, unit, value, lat
Sensor: humidity | fields: ts, reading, depth, type
Task: Retrieve lon from rainfall with reading above the MIN(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060346 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: level, qc, reading, depth
Sensor: dew_point | fields: value, depth, ts, unit
Task: Fetch level from visibility where type exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060347 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, lon, level, unit
Sensor: snow_depth | fields: lat, unit, ts, type
Task: Fetch value from lightning that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060348 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, qc, depth, type
Sensor: humidity | fields: type, reading, level, ts
Task: Fetch level from frost that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060349 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, depth, ts, lon
Sensor: turbidity | fields: reading, unit, type, lat
Task: Retrieve lon from dew_point that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060350 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lat, qc, type, level
Sensor: lightning | fields: lon, qc, depth, reading
Task: Fetch reading from visibility where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060351 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: reading, qc, unit, lon
Sensor: evaporation | fields: depth, lon, ts, unit
Task: Fetch value from sunlight where depth is greater than the count of of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060352 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: qc, value, lat, lon
Sensor: snow_depth | fields: ts, type, value, reading
Task: Fetch depth from drought_index where type exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060353 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, depth, reading, level
Sensor: pressure | fields: unit, lon, lat, ts
Task: Get level from cloud_cover where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060354 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: level, value, reading, type
Sensor: temperature | fields: ts, reading, lat, depth
Task: Retrieve level from air_quality that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060355 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: qc, lon, value, level
Sensor: temperature | fields: reading, type, lon, value
Task: Get value from humidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060356 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, value, depth, level
Sensor: evaporation | fields: qc, ts, lat, unit
Task: Retrieve lat from cloud_cover with value above the AVG(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060357 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: depth, lat, reading, type
Sensor: air_quality | fields: depth, lon, value, reading
Task: Fetch lat from visibility where unit exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060358 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, ts, lon, depth
Sensor: temperature | fields: unit, qc, type, value
Task: Retrieve lon from visibility with reading above the SUM(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060359 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, value, type, level
Sensor: lightning | fields: lon, lat, value, reading
Task: Retrieve level from pressure whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060360 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, ts, type, qc
Sensor: cloud_cover | fields: qc, ts, value, depth
Task: Retrieve reading from temperature whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060361 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, level, ts, type
Sensor: cloud_cover | fields: qc, lat, level, reading
Task: Fetch lon from wind_speed where reading is greater than the total of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060362 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, ts, unit, type
Sensor: turbidity | fields: level, value, lon, reading
Task: Get lon from soil_moisture where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060363 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lon, type, ts, reading
Sensor: snow_depth | fields: value, unit, reading, lon
Task: Get value from frost where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060364 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, lon, reading, ts
Sensor: sunlight | fields: value, unit, ts, lat
Task: Retrieve value from dew_point that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060365 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, reading, unit
Sensor: air_quality | fields: ts, type, value, reading
Task: Get depth from humidity where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060366 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, unit, depth, ts
Sensor: temperature | fields: ts, type, lon, unit
Task: Get value from frost where ts appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060367 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, ts, qc, type
Sensor: frost | fields: type, reading, level, depth
Task: Get level from dew_point where value exceeds the average value from frost for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060368 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, lon, unit, type
Sensor: temperature | fields: lat, type, reading, depth
Task: Get lat from evaporation where depth exceeds the count of depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060369 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, type, unit, reading
Sensor: turbidity | fields: lon, unit, ts, type
Task: Retrieve value from air_quality that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060370 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: depth, level, type, ts
Sensor: humidity | fields: lat, ts, type, qc
Task: Get value from drought_index where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060371 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: unit, lon, depth, level
Sensor: cloud_cover | fields: type, qc, lat, lon
Task: Retrieve reading from temperature that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060372 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: depth, level, qc, lat
Sensor: wind_speed | fields: reading, level, depth, lon
Task: Fetch lat from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060373 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: qc, depth, lon, value
Sensor: snow_depth | fields: reading, lat, ts, unit
Task: Retrieve level from dew_point with reading above the MAX(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060374 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, lon, qc, ts
Sensor: sunlight | fields: unit, lat, reading, value
Task: Get lat from visibility where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060375 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, type, reading, value
Sensor: humidity | fields: lon, value, reading, type
Task: Fetch lon from lightning that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060376 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: depth, level, reading, qc
Sensor: drought_index | fields: unit, depth, level, lat
Task: Get depth from rainfall where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060377 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, type, lon, unit
Sensor: air_quality | fields: lat, lon, qc, value
Task: Get level from soil_moisture where depth exceeds the total value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060378 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, level, value, type
Sensor: temperature | fields: qc, reading, depth, ts
Task: Fetch value from snow_depth that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060379 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: ts, unit, depth, value
Sensor: temperature | fields: lat, reading, depth, type
Task: Fetch lon from lightning where depth is greater than the total of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060380 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, lon, ts, lat
Sensor: pressure | fields: unit, depth, type, qc
Task: Get depth from drought_index where value exceeds the count of reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060381 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, level, ts, lat
Sensor: snow_depth | fields: depth, level, unit, lat
Task: Retrieve lon from visibility with reading above the AVG(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060382 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, depth, ts, lat
Sensor: sunlight | fields: reading, value, type, level
Task: Fetch reading from rainfall that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"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_060383 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, reading, qc, depth
Sensor: wind_speed | fields: type, level, depth, reading
Task: Fetch depth from humidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060384 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lat, lon, type, level
Sensor: wind_speed | fields: reading, depth, level, lat
Task: Retrieve lat from visibility that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060385 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, lat, level, depth
Sensor: humidity | fields: level, type, value, qc
Task: Get depth from sunlight where depth exceeds the average depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060386 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, ts, lat, unit
Sensor: drought_index | fields: value, level, ts, lon
Task: Retrieve level from wind_speed whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060387 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, value, lon, level
Sensor: air_quality | fields: lat, value, level, ts
Task: Retrieve depth from lightning with reading above the MAX(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060388 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, type, unit, ts
Sensor: cloud_cover | fields: reading, qc, lat, depth
Task: Get lon from wind_speed where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060389 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, lat, level, value
Sensor: cloud_cover | fields: unit, depth, reading, ts
Task: Fetch lon from snow_depth where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060390 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: type, lat, qc, depth
Sensor: cloud_cover | fields: level, reading, unit, lon
Task: Fetch lon from visibility where value is greater than the count of of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060391 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, depth, qc, unit
Sensor: frost | fields: value, level, reading, unit
Task: Get lat from humidity where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060392 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: qc, type, ts, value
Sensor: dew_point | fields: qc, reading, lon, ts
Task: Fetch depth from pressure that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060393 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: depth, ts, type, value
Sensor: turbidity | fields: lon, unit, value, reading
Task: Fetch value from dew_point where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060394 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, lon, type
Sensor: snow_depth | fields: level, value, type, lon
Task: Fetch value from air_quality that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060395 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, lat, level, ts
Sensor: rainfall | fields: level, type, lat, qc
Task: Retrieve depth from drought_index whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060396 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, qc, depth, reading
Sensor: air_quality | fields: value, lon, lat, type
Task: Get level from visibility where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060397 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: level, lon, depth, unit
Sensor: turbidity | fields: reading, lon, depth, type
Task: Retrieve lon from evaporation with value above the MAX(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060398 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: value, lat, unit, lon
Sensor: dew_point | fields: type, depth, qc, ts
Task: Get level from visibility where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.