variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, lon, ts, reading
Sensor: visibility | fields: level, lat, value, unit
Task: Retrieve level from drought_index whose qc is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082100 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lon, value, ts, type
Sensor: turbidity | fields: reading, level, type, ts
Task: Fetch depth from humidity where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082101 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: type, ts, depth, qc
Sensor: turbidity | fields: lon, depth, lat, type
Task: Get reading from visibility where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082102 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: qc, ts, type, reading
Sensor: sunlight | fields: lat, ts, depth, reading
Task: Fetch value from air_quality where reading is greater than the maximum of reading in sunlight for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082103 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, unit, lon, reading
Sensor: lightning | fields: lon, value, unit, lat
Task: Retrieve reading from humidity that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082104 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, reading, depth, unit
Sensor: frost | fields: reading, ts, lon, type
Task: Retrieve value from soil_moisture that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082105 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, ts, value, qc
Sensor: uv_index | fields: value, depth, lon, level
Task: Fetch value from temperature where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082106 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, unit, ts, qc
Sensor: evaporation | fields: level, value, reading, depth
Task: Fetch value from dew_point where depth is greater than the count of of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082107 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, level, reading, ts
Sensor: air_quality | fields: reading, value, qc, unit
Task: Get level from sunlight where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082108 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lon, type, level
Sensor: pressure | fields: value, level, type, lat
Task: Get reading from uv_index where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082109 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, lon, depth, qc
Sensor: turbidity | fields: type, lon, reading, ts
Task: Get value from lightning where value exceeds the count of depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082110 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: value, unit, depth, reading
Sensor: evaporation | fields: lon, type, level, lat
Task: Get reading from humidity where type appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082111 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: unit, depth, lat, value
Sensor: humidity | fields: value, qc, level, depth
Task: Retrieve level from turbidity that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082112 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: type, ts, lat, depth
Sensor: lightning | fields: type, ts, level, reading
Task: Fetch lon from dew_point where value is greater than the count of of value in lightning for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082113 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, value, unit, level
Sensor: lightning | fields: depth, ts, unit, level
Task: Get reading from air_quality where reading exceeds the maximum depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082114 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: level, lat, depth, unit
Sensor: wind_speed | fields: ts, depth, lat, level
Task: Retrieve lon from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082115 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, unit, lat, type
Sensor: dew_point | fields: type, ts, qc, lat
Task: Fetch depth from soil_moisture where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082116 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: ts, reading, lat, depth
Sensor: wind_speed | fields: type, level, ts, reading
Task: Retrieve reading from drought_index whose type is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082117 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, reading, lon, qc
Sensor: evaporation | fields: reading, qc, lat, type
Task: Fetch level from pressure where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082118 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, lon, type, value
Sensor: dew_point | fields: lon, ts, unit, depth
Task: Retrieve reading from temperature whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082119 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, type, depth, level
Sensor: evaporation | fields: qc, type, value, reading
Task: Retrieve depth from wind_speed whose qc is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082120 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, qc, level, lat
Sensor: turbidity | fields: level, qc, value, ts
Task: Get lat from sunlight where depth exceeds the count of reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082121 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, reading, value
Sensor: visibility | fields: reading, lat, level, type
Task: Retrieve level from cloud_cover with value above the MIN(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082122 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, value, ts, unit
Sensor: frost | fields: unit, level, value, qc
Task: Retrieve depth from soil_moisture whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082123 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: level, qc, ts, unit
Sensor: visibility | fields: unit, level, ts, value
Task: Retrieve depth from rainfall whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082124 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, reading, lat, value
Sensor: temperature | fields: unit, ts, lon, qc
Task: Get reading from wind_speed where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082125 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, ts, reading, qc
Sensor: lightning | fields: unit, reading, value, type
Task: Fetch level from snow_depth where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082126 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: qc, lon, ts, unit
Sensor: pressure | fields: ts, unit, reading, depth
Task: Get value from evaporation where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082127 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, reading, depth, type
Sensor: snow_depth | fields: level, lon, type, lat
Task: Get level from sunlight where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082128 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, depth, type, qc
Sensor: drought_index | fields: level, lon, lat, reading
Task: Fetch depth from dew_point where reading is greater than the count of of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082129 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, lon, reading, value
Sensor: snow_depth | fields: ts, lat, type, lon
Task: Fetch lat from dew_point where reading is greater than the count of of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082130 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, reading, level, qc
Sensor: sunlight | fields: level, value, ts, lat
Task: Retrieve value from lightning with value above the SUM(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082131 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lon, ts, lat
Sensor: wind_speed | fields: lon, type, reading, qc
Task: Get lon from evaporation where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082132 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, value, level, depth
Sensor: wind_speed | fields: value, qc, reading, ts
Task: Retrieve depth from sunlight that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082133 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: reading, qc, lon, unit
Sensor: cloud_cover | fields: ts, qc, lat, reading
Task: Retrieve depth from turbidity with depth above the SUM(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082134 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, type, lat, qc
Sensor: drought_index | fields: lat, lon, reading, value
Task: Get depth from frost where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082135 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, reading, depth, qc
Sensor: soil_moisture | fields: unit, lon, depth, ts
Task: Get depth from evaporation where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082136 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, ts, unit, value
Sensor: soil_moisture | fields: value, level, unit, lon
Task: Fetch level from pressure where reading is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082137 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, type, lon
Sensor: frost | fields: unit, qc, lat, type
Task: Get reading from wind_speed where reading exceeds the average reading from frost for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082138 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: type, reading, ts, value
Sensor: uv_index | fields: qc, lat, reading, level
Task: Retrieve lat from turbidity whose depth is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082139 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, ts, type, unit
Sensor: dew_point | fields: reading, ts, level, depth
Task: Get value from lightning where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082140 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lon, lat, type, value
Sensor: air_quality | fields: ts, type, depth, unit
Task: Get lat from dew_point where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082141 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, type, value, ts
Sensor: temperature | fields: unit, qc, depth, type
Task: Retrieve value from snow_depth that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082142 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, ts, qc, unit
Sensor: snow_depth | fields: value, lat, type, qc
Task: Retrieve lon from evaporation with depth above the MAX(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082143 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lon, ts, depth, unit
Sensor: pressure | fields: qc, value, level, reading
Task: Fetch level from rainfall that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082144 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lon, lat, value
Sensor: snow_depth | fields: lon, type, qc, value
Task: Fetch lon from wind_speed where reading is greater than the average of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082145 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: ts, lon, level, unit
Sensor: snow_depth | fields: qc, unit, value, lat
Task: Retrieve lat from evaporation whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082146 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, type, value, qc
Sensor: uv_index | fields: value, lon, unit, qc
Task: Get lon from frost where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082147 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, type, lon, lat
Sensor: snow_depth | fields: type, value, lon, ts
Task: Get depth from cloud_cover where depth exceeds the minimum reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082148 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, qc, reading, type
Sensor: rainfall | fields: lat, value, qc, depth
Task: Retrieve lon from cloud_cover that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082149 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, type, depth, value
Sensor: humidity | fields: lat, ts, type, value
Task: Retrieve depth from frost whose ts is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082150 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, qc, value, ts
Sensor: pressure | fields: ts, qc, lat, depth
Task: Get value from soil_moisture where value exceeds the total reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082151 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, type, qc, value
Sensor: drought_index | fields: lon, ts, qc, type
Task: Fetch depth from cloud_cover where qc exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082152 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, lat, reading, lon
Sensor: cloud_cover | fields: qc, lon, unit, ts
Task: Fetch level from rainfall where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082153 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: qc, ts, unit, lon
Sensor: rainfall | fields: reading, qc, value, level
Task: Fetch lat from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082154 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, qc, lat, lon
Sensor: soil_moisture | fields: reading, ts, type, unit
Task: Get level from humidity where depth exceeds the total reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082155 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, type, level, qc
Sensor: dew_point | fields: depth, level, value, unit
Task: Get value from snow_depth where depth exceeds the total value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082156 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, lon, depth, unit
Sensor: turbidity | fields: ts, level, unit, depth
Task: Fetch depth from air_quality where qc exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082157 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, unit, type, level
Sensor: evaporation | fields: lon, qc, value, ts
Task: Retrieve lon from rainfall with reading above the AVG(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082158 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, lon, value, ts
Sensor: pressure | fields: lat, value, reading, unit
Task: Retrieve reading from lightning whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082159 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: reading, qc, lat, ts
Sensor: wind_speed | fields: ts, type, value, unit
Task: Get lat from evaporation where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082160 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, type, lat, reading
Sensor: air_quality | fields: level, depth, unit, value
Task: Fetch depth from soil_moisture where depth is greater than the count of of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082161 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, depth, level, lon
Sensor: visibility | fields: depth, type, ts, lat
Task: Fetch reading from turbidity where reading is greater than the count of of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082162 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, lat, type, ts
Sensor: soil_moisture | fields: level, unit, type, qc
Task: Get level from frost where reading exceeds the minimum reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082163 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, value, unit, qc
Sensor: frost | fields: lat, lon, type, reading
Task: Fetch reading from pressure that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082164 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, qc, level, value
Sensor: sunlight | fields: lat, value, reading, ts
Task: Get depth from soil_moisture where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082165 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, reading, unit, lat
Sensor: visibility | fields: value, reading, ts, level
Task: Fetch lon from dew_point that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082166 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, depth, value, lat
Sensor: snow_depth | fields: reading, lat, depth, lon
Task: Get lon from temperature where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082167 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, depth, lon, unit
Sensor: soil_moisture | fields: level, type, ts, qc
Task: Fetch depth from visibility where reading is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082168 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, unit, depth, lon
Sensor: pressure | fields: unit, level, value, lat
Task: Fetch depth from evaporation where depth is greater than the count of of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082169 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, lat, ts, lon
Sensor: air_quality | fields: reading, qc, type, lon
Task: Fetch depth from temperature where depth is greater than the total of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082170 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: reading, unit, lat, value
Sensor: lightning | fields: depth, level, lat, value
Task: Retrieve reading from uv_index with reading above the MIN(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082171 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, value, reading, qc
Sensor: uv_index | fields: ts, level, lon, depth
Task: Fetch lat from snow_depth that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082172 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, value, reading, ts
Sensor: evaporation | fields: lon, reading, type, level
Task: Fetch lon from uv_index that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082173 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: ts, lat, depth, value
Sensor: visibility | fields: unit, depth, ts, value
Task: Retrieve lat from pressure that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082174 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: ts, level, lat, unit
Sensor: dew_point | fields: unit, type, lon, qc
Task: Retrieve level from air_quality whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082175 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lat, qc, lon, type
Sensor: cloud_cover | fields: reading, depth, ts, type
Task: Get value from air_quality where reading exceeds the count of value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082176 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, level, lat, reading
Sensor: pressure | fields: depth, value, lat, ts
Task: Fetch lon from humidity where reading is greater than the minimum of depth in pressure for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082177 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: value, lon, qc, type
Sensor: pressure | fields: qc, level, unit, value
Task: Retrieve lon from snow_depth with value above the AVG(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082178 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, depth, lat, type
Sensor: rainfall | fields: lon, type, lat, value
Task: Fetch lon from evaporation where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082179 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, unit, qc, depth
Sensor: turbidity | fields: qc, unit, level, value
Task: Retrieve value from cloud_cover with reading above the MAX(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082180 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lon, level, depth, lat
Sensor: cloud_cover | fields: level, depth, unit, reading
Task: Retrieve level from visibility that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082181 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lat, reading, qc, depth
Sensor: humidity | fields: reading, level, qc, lat
Task: Retrieve lon from visibility with depth above the MAX(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082182 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: unit, lon, type, qc
Sensor: snow_depth | fields: level, lon, type, unit
Task: Get level from temperature where ts appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082183 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: level, type, lon, reading
Sensor: snow_depth | fields: value, reading, level, depth
Task: Get depth from wind_speed where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082184 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lat, qc, depth, type
Sensor: dew_point | fields: ts, reading, unit, depth
Task: Get depth from evaporation where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082185 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: value, ts, lat, unit
Sensor: frost | fields: value, lon, level, reading
Task: Retrieve reading from pressure whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082186 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: type, value, depth, reading
Sensor: rainfall | fields: value, depth, qc, level
Task: Get reading from frost where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082187 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, depth, type, qc
Sensor: wind_speed | fields: value, level, qc, reading
Task: Retrieve lon from sunlight with value above the MAX(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082188 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, depth, type, lat
Sensor: air_quality | fields: depth, qc, lat, ts
Task: Retrieve depth from visibility whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082189 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, value, lon
Sensor: frost | fields: type, level, unit, lon
Task: Retrieve depth from lightning with depth above the COUNT(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082190 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: depth, unit, level, qc
Sensor: pressure | fields: reading, type, lon, depth
Task: Retrieve reading from air_quality whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082191 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: reading, ts, unit, lon
Sensor: dew_point | fields: type, reading, level, qc
Task: Get level from lightning where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082192 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: type, lat, unit, qc
Sensor: soil_moisture | fields: depth, reading, qc, lon
Task: Retrieve reading from lightning with value above the AVG(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082193 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, ts, qc, value
Sensor: snow_depth | fields: reading, lat, level, ts
Task: Retrieve value from humidity that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082194 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, type, depth, lat
Sensor: pressure | fields: unit, depth, lon, reading
Task: Get level from cloud_cover where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082195 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, depth, type, unit
Sensor: pressure | fields: unit, ts, type, value
Task: Retrieve lon from drought_index whose type is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082196 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: level, depth, reading, qc
Sensor: lightning | fields: type, reading, lat, value
Task: Get depth from turbidity where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082197 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: qc, unit, level, type
Sensor: snow_depth | fields: lat, type, reading, qc
Task: Fetch level from turbidity where depth is greater than the maximum of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082198 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, value, reading, lon
Sensor: temperature | fields: level, reading, ts, lon
Task: Fetch reading from humidity where value is greater than the minimum of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.