variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, level, depth, lat
Sensor: dew_point | fields: level, ts, unit, type
Task: Fetch depth from cloud_cover where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056200 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, depth, lon, value
Sensor: humidity | fields: depth, lat, lon, reading
Task: Fetch lat from soil_moisture where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056201 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, depth, qc, lat
Sensor: visibility | fields: unit, value, level, depth
Task: Retrieve lon from frost that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056202 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, unit, value, lat
Sensor: temperature | fields: lon, ts, reading, type
Task: Get level from soil_moisture where reading exceeds the minimum depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056203 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: qc, type, level, depth
Sensor: humidity | fields: ts, lon, qc, value
Task: Get level from evaporation where ts appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056204 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: unit, depth, ts, reading
Sensor: sunlight | fields: lon, depth, qc, level
Task: Retrieve reading from pressure with depth above the MIN(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"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_056205 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, qc, reading, depth
Sensor: frost | fields: value, lon, depth, qc
Task: Fetch depth from wind_speed that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056206 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, depth, value, reading
Sensor: frost | fields: value, reading, unit, lat
Task: Fetch level from drought_index where value is greater than the total of value in frost for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056207 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: unit, reading, value, depth
Sensor: soil_moisture | fields: unit, type, value, lon
Task: Fetch lat from evaporation where ts exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056208 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, unit, lat, type
Sensor: uv_index | fields: unit, qc, lat, reading
Task: Fetch lat from visibility where value is greater than the maximum of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056209 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: depth, level, reading, lon
Sensor: temperature | fields: type, qc, lat, depth
Task: Fetch lat from visibility that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056210 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, unit, depth, qc
Sensor: soil_moisture | fields: unit, reading, qc, depth
Task: Retrieve level from sunlight with depth above the AVG(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056211 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, qc, unit, value
Sensor: evaporation | fields: lat, level, ts, lon
Task: Fetch depth from frost where qc exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056212 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, type, level, unit
Sensor: rainfall | fields: value, depth, lat, ts
Task: Retrieve reading from turbidity whose ts is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056213 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: type, reading, unit, depth
Sensor: humidity | fields: value, level, reading, depth
Task: Fetch lat from dew_point that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056214 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: depth, lon, unit, value
Sensor: turbidity | fields: type, ts, value, qc
Task: Fetch depth from sunlight where value is greater than the minimum of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056215 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, qc, level, lon
Sensor: turbidity | fields: reading, depth, value, lon
Task: Get level from temperature where qc appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056216 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, ts, depth, lon
Sensor: uv_index | fields: level, qc, ts, type
Task: Get lon from frost where reading exceeds the average reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056217 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, level, type, lat
Sensor: sunlight | fields: lon, lat, level, reading
Task: Fetch lat from soil_moisture where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056218 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, level, lat, qc
Sensor: evaporation | fields: level, type, reading, depth
Task: Retrieve lon from humidity whose depth is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056219 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: qc, type, lat, level
Sensor: humidity | fields: reading, ts, type, qc
Task: Retrieve depth from temperature with value above the MAX(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056220 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, qc, value, lat
Sensor: wind_speed | fields: depth, lon, lat, value
Task: Get value from soil_moisture where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056221 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, qc, type, level
Sensor: air_quality | fields: reading, value, unit, depth
Task: Fetch lat from temperature where reading is greater than the total of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056222 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: unit, reading, lat, depth
Sensor: frost | fields: ts, type, value, unit
Task: Retrieve lat from dew_point whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056223 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: qc, type, lat, depth
Sensor: soil_moisture | fields: reading, depth, unit, lat
Task: Retrieve level from drought_index that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056224 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lon, ts, reading, depth
Sensor: turbidity | fields: qc, value, type, lat
Task: Fetch lat from uv_index that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056225 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, qc, type, depth
Sensor: turbidity | fields: qc, unit, level, ts
Task: Retrieve reading from rainfall with depth above the COUNT(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056226 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: qc, ts, lat, value
Sensor: soil_moisture | fields: lon, level, lat, reading
Task: Fetch reading from visibility where depth is greater than the count of of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056227 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lon, level, type, unit
Sensor: wind_speed | fields: lat, ts, type, qc
Task: Fetch depth from air_quality where reading is greater than the count of of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056228 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, depth, level, qc
Sensor: air_quality | fields: ts, reading, value, qc
Task: Get depth from wind_speed where depth appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056229 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: type, value, ts, level
Sensor: evaporation | fields: value, lat, qc, ts
Task: Get depth from temperature where depth exceeds the average depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056230 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: depth, reading, level, value
Sensor: snow_depth | fields: level, value, ts, reading
Task: Get depth from dew_point where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056231 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, ts, reading, level
Sensor: turbidity | fields: level, type, lat, unit
Task: Fetch lon from wind_speed where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056232 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: unit, lat, value, lon
Sensor: soil_moisture | fields: lat, value, depth, unit
Task: Fetch reading from rainfall where type exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056233 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, lat, reading, ts
Sensor: lightning | fields: level, unit, depth, value
Task: Fetch lat from temperature that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056234 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: reading, unit, value, type
Sensor: evaporation | fields: level, unit, depth, ts
Task: Get reading from temperature where depth exceeds the total value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056235 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, qc, level, type
Sensor: air_quality | fields: unit, qc, ts, depth
Task: Retrieve depth from snow_depth that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056236 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, qc, lat, type
Sensor: air_quality | fields: lon, lat, depth, qc
Task: Retrieve lon from drought_index whose depth is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056237 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, depth, type, ts
Sensor: cloud_cover | fields: depth, value, qc, level
Task: Retrieve value from soil_moisture that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056238 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lon, level, ts, qc
Sensor: air_quality | fields: type, qc, reading, unit
Task: Retrieve reading from drought_index with reading above the COUNT(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056239 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, type, qc, ts
Sensor: visibility | fields: reading, ts, qc, lat
Task: Fetch reading from snow_depth that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056240 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: ts, unit, level, reading
Sensor: turbidity | fields: qc, reading, lat, type
Task: Retrieve reading from temperature whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056241 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, lat, type, qc
Sensor: dew_point | fields: qc, lat, value, lon
Task: Retrieve reading from humidity whose unit is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056242 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: level, depth, lon, value
Sensor: humidity | fields: type, unit, reading, qc
Task: Get lat from lightning where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056243 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, unit, lat, reading
Sensor: turbidity | fields: value, lat, qc, depth
Task: Get lat from frost where depth exceeds the total depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056244 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, qc, value, ts
Sensor: evaporation | fields: unit, reading, lat, depth
Task: Fetch value from snow_depth where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056245 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, lon, type, depth
Sensor: temperature | fields: reading, depth, value, lat
Task: Fetch depth from frost where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056246 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, qc, lat, level
Sensor: drought_index | fields: reading, value, lon, level
Task: Retrieve value from lightning with value above the MIN(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056247 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: ts, lat, unit, type
Sensor: wind_speed | fields: lat, type, reading, ts
Task: Get value from humidity where reading exceeds the average reading from wind_speed for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056248 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, value, lon, qc
Sensor: visibility | fields: lat, value, type, qc
Task: Get depth from pressure where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056249 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: level, depth, lon, value
Sensor: sunlight | fields: level, depth, reading, ts
Task: Retrieve depth from rainfall with reading above the AVG(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056250 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, ts, type, qc
Sensor: air_quality | fields: unit, depth, lat, type
Task: Fetch reading from snow_depth where depth is greater than the minimum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056251 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, lat, reading, level
Sensor: temperature | fields: lon, unit, depth, lat
Task: Retrieve level from evaporation with depth above the MIN(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056252 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, reading, type, depth
Sensor: pressure | fields: unit, qc, lat, level
Task: Retrieve lat from snow_depth with depth above the SUM(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056253 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, type, unit, reading
Sensor: pressure | fields: qc, value, level, lat
Task: Fetch depth from snow_depth that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056254 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, unit, value, level
Sensor: cloud_cover | fields: type, reading, unit, lon
Task: Fetch reading from sunlight that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056255 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, lat, depth, qc
Sensor: sunlight | fields: lon, level, qc, lat
Task: Retrieve reading from temperature with value above the MAX(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056256 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, reading, level, unit
Sensor: turbidity | fields: value, depth, lon, unit
Task: Fetch value from drought_index where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056257 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, value, level, unit
Sensor: snow_depth | fields: lat, lon, value, depth
Task: Retrieve reading from soil_moisture whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056258 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, type, reading, unit
Sensor: soil_moisture | fields: unit, lat, level, ts
Task: Fetch level from visibility where unit exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056259 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: ts, level, unit, lat
Sensor: temperature | fields: qc, type, unit, reading
Task: Fetch reading from uv_index where value is greater than the maximum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056260 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, lon, qc, reading
Sensor: humidity | fields: level, type, unit, reading
Task: Retrieve reading from evaporation that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056261 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, type, reading, depth
Sensor: wind_speed | fields: unit, lon, lat, level
Task: Fetch depth from evaporation where reading is greater than the total of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056262 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, qc, unit, ts
Sensor: rainfall | fields: lat, level, type, qc
Task: Fetch value from temperature where reading is greater than the minimum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056263 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, depth, unit, lon
Sensor: cloud_cover | fields: depth, value, lat, lon
Task: Retrieve lon from evaporation that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056264 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, lon, reading, lat
Sensor: visibility | fields: depth, type, qc, value
Task: Fetch depth from rainfall where reading is greater than the minimum of value in visibility for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056265 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: reading, lat, qc, depth
Sensor: dew_point | fields: level, ts, lon, lat
Task: Retrieve reading from lightning with depth above the SUM(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056266 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: ts, qc, value, lon
Sensor: rainfall | fields: depth, value, ts, lon
Task: Get value from pressure where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056267 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, level, qc, ts
Sensor: wind_speed | fields: lat, qc, depth, type
Task: Retrieve depth from visibility whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056268 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, lat, unit, value
Sensor: rainfall | fields: lat, level, depth, lon
Task: Get lon from temperature where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056269 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: unit, qc, lon, depth
Sensor: dew_point | fields: unit, qc, ts, lon
Task: Fetch depth from evaporation that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056270 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, qc, level, depth
Sensor: rainfall | fields: reading, value, ts, lat
Task: Fetch value from uv_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056271 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, unit, value, lat
Sensor: soil_moisture | fields: lat, depth, level, reading
Task: Fetch value from evaporation where value is greater than the minimum of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056272 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, qc, level, lat
Sensor: cloud_cover | fields: lat, lon, depth, qc
Task: Fetch lat from wind_speed that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056273 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, ts, type, value
Sensor: dew_point | fields: lon, depth, qc, level
Task: Fetch level from air_quality where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056274 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, reading, type, lon
Sensor: temperature | fields: unit, type, qc, value
Task: Fetch value from pressure where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056275 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, lat, value, reading
Sensor: pressure | fields: value, lat, depth, qc
Task: Get lat from turbidity where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056276 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, level, reading, value
Sensor: air_quality | fields: level, value, ts, lon
Task: Retrieve reading from uv_index whose type is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056277 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lat, type, unit
Sensor: sunlight | fields: lat, qc, level, lon
Task: Get lat from uv_index where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056278 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, level, qc, type
Sensor: pressure | fields: lon, reading, ts, depth
Task: Fetch lon from wind_speed where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056279 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, lon, level, lat
Sensor: snow_depth | fields: lat, reading, unit, lon
Task: Get level from rainfall where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056280 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, reading, depth, ts
Sensor: temperature | fields: lat, lon, type, qc
Task: Get lat from air_quality where value exceeds the total depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056281 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, depth, type, unit
Sensor: frost | fields: level, lat, unit, qc
Task: Retrieve lon from turbidity that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056282 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, level, lon, type
Sensor: soil_moisture | fields: type, lat, depth, lon
Task: Retrieve reading from dew_point with reading above the SUM(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056283 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, lon, reading, ts
Sensor: frost | fields: unit, lat, value, lon
Task: Fetch value from air_quality that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056284 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, level, reading, depth
Sensor: uv_index | fields: ts, lat, lon, unit
Task: Retrieve reading from visibility that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056285 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, unit, type, reading
Sensor: wind_speed | fields: qc, lon, unit, reading
Task: Fetch lat from humidity where depth is greater than the average of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056286 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, ts, lon, reading
Sensor: rainfall | fields: level, value, lat, unit
Task: Get level from wind_speed where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056287 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, qc, ts, type
Sensor: visibility | fields: reading, level, value, lat
Task: Fetch lon from soil_moisture where depth is greater than the count of of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056288 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, level, reading, lat
Sensor: sunlight | fields: qc, level, depth, lat
Task: Fetch depth from uv_index where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056289 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, qc, value, unit
Sensor: drought_index | fields: reading, level, ts, lon
Task: Retrieve depth from uv_index that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056290 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, depth, reading, value
Sensor: drought_index | fields: qc, type, value, depth
Task: Get lon from turbidity where depth exceeds the average reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056291 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, unit, depth, qc
Sensor: frost | fields: depth, reading, lon, level
Task: Fetch value from cloud_cover where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056292 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, reading, type, unit
Sensor: visibility | fields: lon, reading, unit, lat
Task: Get lat from sunlight where qc appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056293 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, unit, reading, lat
Sensor: air_quality | fields: depth, lat, lon, value
Task: Retrieve depth from sunlight that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
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",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056294 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, reading, unit, type
Sensor: frost | fields: type, unit, value, qc
Task: Get depth from humidity where reading exceeds the minimum reading from frost for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056295 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, lon, level, reading
Sensor: lightning | fields: depth, qc, value, lat
Task: Fetch depth from turbidity where reading is greater than the total of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056296 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, ts, type, depth
Sensor: temperature | fields: ts, reading, lat, type
Task: Get value from snow_depth where value exceeds the maximum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056297 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, lon, value, level
Sensor: temperature | fields: reading, value, type, ts
Task: Fetch lat from snow_depth where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056298 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: type, unit, lon, depth
Sensor: cloud_cover | fields: value, unit, depth, reading
Task: Retrieve depth from uv_index that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.