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: wind_speed | code: gst | fields: depth, lon, reading, qc
Sensor: air_quality | fields: lat, depth, unit, value
Task: Retrieve reading from wind_speed with depth above the MIN(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073700 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, unit, value, depth
Sensor: wind_speed | fields: level, type, ts, lon
Task: Fetch reading from sunlight where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073701 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lon, level, value, qc
Sensor: temperature | fields: qc, depth, lat, level
Task: Fetch level from pressure that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073702 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, lat, reading, ts
Sensor: visibility | fields: lon, type, level, qc
Task: Retrieve depth from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073703 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, ts, lat, type
Sensor: lightning | fields: value, depth, lat, lon
Task: Get lon from cloud_cover where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073704 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: depth, ts, type, reading
Sensor: sunlight | fields: unit, ts, reading, qc
Task: Fetch reading from drought_index that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073705 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: qc, reading, type, level
Sensor: lightning | fields: level, unit, value, ts
Task: Get level from visibility where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073706 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, value, depth, type
Sensor: wind_speed | fields: lat, lon, qc, depth
Task: Fetch value from dew_point that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073707 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, level, ts, qc
Sensor: soil_moisture | fields: ts, unit, depth, level
Task: Retrieve level from sunlight with depth above the AVG(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073708 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, qc, lon, lat
Sensor: rainfall | fields: value, lon, unit, lat
Task: Get depth from visibility where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073709 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, ts, type, qc
Sensor: snow_depth | fields: type, qc, lon, level
Task: Get reading from soil_moisture where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073710 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, level, lon, type
Sensor: cloud_cover | fields: lat, qc, depth, reading
Task: Fetch reading from humidity where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073711 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, ts, qc, type
Sensor: pressure | fields: level, reading, qc, ts
Task: Fetch level from visibility that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073712 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, ts, value, depth
Sensor: rainfall | fields: reading, unit, value, lon
Task: Retrieve level from wind_speed that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073713 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, value, type, depth
Sensor: frost | fields: ts, depth, value, lat
Task: Fetch reading from snow_depth that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073714 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, depth, unit, type
Sensor: snow_depth | fields: value, lon, level, depth
Task: Retrieve lat from evaporation that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073715 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: value, unit, level, lon
Sensor: turbidity | fields: type, value, lon, qc
Task: Fetch level from air_quality where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073716 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, level, qc, unit
Sensor: turbidity | fields: type, lon, qc, reading
Task: Retrieve lat from rainfall whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073717 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, level, lon, depth
Sensor: air_quality | fields: value, unit, qc, type
Task: Get level from drought_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073718 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: depth, type, lon, ts
Sensor: cloud_cover | fields: reading, type, ts, lat
Task: Get value from sunlight where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073719 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: type, lat, reading, depth
Sensor: lightning | fields: level, depth, ts, lon
Task: Fetch lon from evaporation where ts exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073720 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, type, value, ts
Sensor: air_quality | fields: unit, type, reading, ts
Task: Get lon from pressure where reading exceeds the count of depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073721 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, level, unit, qc
Sensor: turbidity | fields: level, type, lat, value
Task: Get level from frost where depth exceeds the minimum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073722 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, lat, qc, lon
Sensor: temperature | fields: level, lat, reading, lon
Task: Fetch reading from pressure that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073723 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: reading, depth, lon, level
Sensor: visibility | fields: unit, qc, value, reading
Task: Get depth from sunlight where reading exceeds the minimum value from visibility for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073724 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: type, unit, lat, depth
Sensor: sunlight | fields: level, ts, qc, type
Task: Retrieve lon from pressure that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073725 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, lat, depth, reading
Sensor: turbidity | fields: level, qc, value, lon
Task: Fetch value from frost where depth exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073726 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: unit, depth, level, reading
Sensor: lightning | fields: unit, depth, lon, ts
Task: Fetch value from temperature where value is greater than the total of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073727 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, type, lon, value
Sensor: turbidity | fields: ts, unit, depth, lon
Task: Fetch reading from temperature where ts exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073728 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, lat, unit, level
Sensor: wind_speed | fields: lat, qc, level, lon
Task: Fetch depth from snow_depth where ts exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073729 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, reading, depth, ts
Sensor: temperature | fields: qc, unit, lat, reading
Task: Get lon from turbidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073730 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, lon, type, lat
Sensor: visibility | fields: level, lon, unit, depth
Task: Fetch value from evaporation where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073731 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: reading, type, level, value
Sensor: temperature | fields: value, unit, depth, ts
Task: Get level from rainfall where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073732 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, value, type, reading
Sensor: evaporation | fields: unit, type, ts, lat
Task: Get reading from sunlight where reading exceeds the total depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073733 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: type, lat, value, unit
Sensor: evaporation | fields: lat, type, level, lon
Task: Fetch level from frost that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073734 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, reading, level, type
Sensor: air_quality | fields: depth, lon, ts, type
Task: Retrieve reading from snow_depth with depth above the AVG(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073735 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, value, type, ts
Sensor: temperature | fields: unit, ts, reading, lon
Task: Retrieve value from drought_index whose unit is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073736 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: qc, type, lon, value
Sensor: visibility | fields: lon, value, qc, unit
Task: Get lat from lightning where depth exceeds the count of reading from visibility for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073737 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: value, lon, unit, type
Sensor: uv_index | fields: lat, value, ts, level
Task: Get reading from wind_speed where depth exceeds the count of value from uv_index for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073738 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: qc, depth, unit, ts
Sensor: air_quality | fields: qc, ts, type, depth
Task: Retrieve depth from sunlight with value above the COUNT(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073739 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, lat, qc, reading
Sensor: turbidity | fields: lon, ts, lat, type
Task: Retrieve value from drought_index with depth above the MAX(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073740 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lon, level, depth
Sensor: frost | fields: ts, type, lon, depth
Task: Get reading from cloud_cover where reading exceeds the maximum value from frost for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073741 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: value, reading, qc, unit
Sensor: soil_moisture | fields: value, type, unit, lon
Task: Fetch reading from sunlight where reading is greater than the total of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073742 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, ts, value, level
Sensor: dew_point | fields: lon, qc, type, lat
Task: Fetch reading from rainfall where reading is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073743 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, depth, ts, value
Sensor: air_quality | fields: level, ts, type, unit
Task: Fetch depth from frost where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073744 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, lon, type, ts
Sensor: rainfall | fields: unit, ts, reading, lon
Task: Retrieve lon from sunlight whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073745 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: ts, level, depth, type
Sensor: wind_speed | fields: lon, value, reading, unit
Task: Fetch lat from dew_point where reading is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073746 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lat, lon, ts, type
Sensor: drought_index | fields: level, type, lon, reading
Task: Get level from humidity where ts appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073747 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, unit, ts, value
Sensor: dew_point | fields: reading, qc, type, ts
Task: Fetch value from uv_index where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073748 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: unit, ts, level, value
Sensor: rainfall | fields: type, unit, qc, lon
Task: Get lon from uv_index where reading exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073749 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, qc, lat, lon
Sensor: rainfall | fields: value, level, reading, ts
Task: Get reading from temperature where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073750 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, type, depth, unit
Sensor: pressure | fields: ts, lat, lon, depth
Task: Get level from wind_speed where value exceeds the total value from pressure for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073751 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, lat, ts, level
Sensor: temperature | fields: value, level, type, ts
Task: Get value from soil_moisture where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073752 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, reading, level, ts
Sensor: sunlight | fields: lon, depth, ts, lat
Task: Fetch reading from snow_depth where reading is greater than the total of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073753 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, ts, unit, reading
Sensor: humidity | fields: qc, ts, reading, depth
Task: Retrieve value from rainfall whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073754 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, type, unit, lon
Sensor: snow_depth | fields: unit, ts, lon, reading
Task: Fetch level from drought_index where depth is greater than the count of of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073755 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, type, lat, unit
Sensor: humidity | fields: ts, unit, type, depth
Task: Get lon from dew_point where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073756 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, level, value, lon
Sensor: rainfall | fields: lon, reading, depth, lat
Task: Retrieve depth from snow_depth with value above the COUNT(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"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_073757 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, value, depth, lon
Sensor: humidity | fields: value, lat, type, depth
Task: Retrieve value from sunlight whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073758 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, reading, value, level
Sensor: frost | fields: reading, type, lon, ts
Task: Get lon from snow_depth where depth exceeds the count of reading from frost for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073759 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: level, ts, lat, value
Sensor: humidity | fields: unit, value, type, level
Task: Fetch reading from air_quality where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073760 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, ts, unit, lon
Sensor: snow_depth | fields: qc, type, depth, lon
Task: Fetch level from uv_index where value is greater than the total of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073761 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, qc, lat, reading
Sensor: turbidity | fields: qc, level, value, type
Task: Fetch value from uv_index where reading is greater than the count of of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073762 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, ts, lon
Sensor: turbidity | fields: ts, unit, qc, type
Task: Fetch lon from snow_depth that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073763 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, lon, ts
Sensor: turbidity | fields: lon, depth, qc, unit
Task: Fetch lat from air_quality where value is greater than the average of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073764 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, depth, value, ts
Sensor: evaporation | fields: depth, lon, lat, ts
Task: Retrieve depth from drought_index whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073765 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: qc, type, depth, value
Sensor: frost | fields: unit, lon, ts, qc
Task: Get reading from pressure where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073766 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: level, type, reading, qc
Sensor: soil_moisture | fields: depth, unit, reading, lat
Task: Fetch lon from wind_speed that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073767 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, depth, reading, lon
Sensor: frost | fields: lat, qc, level, type
Task: Fetch level from dew_point that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073768 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, unit, type, reading
Sensor: rainfall | fields: ts, value, qc, lon
Task: Fetch lon from cloud_cover that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073769 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, lat, ts, qc
Sensor: dew_point | fields: type, lon, ts, reading
Task: Retrieve lat from visibility whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073770 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: unit, level, value, type
Sensor: humidity | fields: type, ts, reading, qc
Task: Retrieve level from sunlight with reading above the COUNT(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"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_073771 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: qc, unit, lon, ts
Sensor: sunlight | fields: reading, level, lon, depth
Task: Get lat from frost where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073772 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: reading, lon, depth, unit
Sensor: cloud_cover | fields: depth, level, value, qc
Task: Get lat from turbidity where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073773 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: type, level, lat, value
Sensor: soil_moisture | fields: unit, reading, lon, depth
Task: Retrieve value from evaporation whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073774 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, lon, unit, type
Sensor: frost | fields: ts, lon, level, value
Task: Retrieve level from lightning that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073775 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, level, reading, qc
Sensor: drought_index | fields: ts, value, type, level
Task: Get lon from air_quality where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073776 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: ts, unit, qc, lon
Sensor: lightning | fields: lat, ts, reading, level
Task: Get lat from dew_point where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073777 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: depth, type, lon, ts
Sensor: sunlight | fields: lon, unit, depth, qc
Task: Retrieve depth from humidity whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073778 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lat, qc, value, type
Sensor: evaporation | fields: lon, ts, qc, value
Task: Retrieve reading from uv_index with value above the MAX(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073779 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, value, qc, lat
Sensor: air_quality | fields: depth, lat, reading, lon
Task: Retrieve reading from snow_depth with reading above the MIN(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073780 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, value, level, lat
Sensor: lightning | fields: lat, level, qc, depth
Task: Fetch lon from wind_speed where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073781 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, level, qc, reading
Sensor: temperature | fields: lon, reading, value, depth
Task: Fetch value from frost that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073782 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lat, level, ts, lon
Sensor: sunlight | fields: ts, depth, value, level
Task: Get level from turbidity where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073783 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, ts, lon, unit
Sensor: rainfall | fields: reading, level, lat, depth
Task: Retrieve level from temperature with reading above the COUNT(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"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_073784 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: value, reading, lat, lon
Sensor: sunlight | fields: value, type, lat, ts
Task: Get level from frost where value exceeds the average value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073785 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, level, qc
Sensor: soil_moisture | fields: lon, qc, level, depth
Task: Get reading from uv_index where type appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073786 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: depth, ts, lat, type
Sensor: cloud_cover | fields: level, qc, type, reading
Task: Get lat from pressure where value exceeds the maximum reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073787 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, value, type, lon
Sensor: temperature | fields: lat, unit, qc, reading
Task: Fetch level from rainfall where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073788 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, level, qc, depth
Sensor: wind_speed | fields: unit, ts, value, level
Task: Retrieve depth from uv_index that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073789 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: unit, value, type, lon
Sensor: cloud_cover | fields: unit, reading, ts, qc
Task: Get value from dew_point where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073790 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: level, unit, value, lat
Sensor: turbidity | fields: type, depth, lon, unit
Task: Get level from air_quality where depth exceeds the total value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073791 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: qc, lon, level, type
Sensor: dew_point | fields: qc, unit, ts, type
Task: Get value from temperature where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073792 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: unit, type, depth, qc
Sensor: visibility | fields: level, lat, unit, qc
Task: Retrieve reading from pressure with value above the AVG(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073793 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, lat, reading, value
Sensor: sunlight | fields: unit, depth, type, value
Task: Get value from frost where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073794 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, depth, lon, unit
Sensor: lightning | fields: unit, lat, ts, depth
Task: Fetch depth from sunlight that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073795 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: level, type, value, reading
Sensor: drought_index | fields: lon, ts, type, level
Task: Retrieve lon from humidity with depth above the SUM(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073796 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, value, reading, ts
Sensor: cloud_cover | fields: lat, reading, unit, depth
Task: Retrieve level from air_quality whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073797 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, value, level, reading
Sensor: evaporation | fields: lat, level, lon, value
Task: Retrieve value from cloud_cover that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073798 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, lat, type, depth
Sensor: cloud_cover | fields: ts, depth, reading, type
Task: Get level from rainfall where value exceeds the average value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.