variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, level, reading, lon
Sensor: cloud_cover | fields: reading, type, lon, unit
Task: Get level from humidity where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008100 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, value, depth, type
Sensor: visibility | fields: lon, value, qc, lat
Task: Retrieve reading from wind_speed whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008101 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, unit, ts, type
Sensor: temperature | fields: qc, depth, type, lon
Task: Get lon from uv_index where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008102 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, value, lon, reading
Sensor: rainfall | fields: lon, qc, unit, type
Task: Retrieve lon from pressure whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008103 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: value, reading, unit, lat
Sensor: drought_index | fields: qc, level, lon, lat
Task: Get level from frost where reading exceeds the average value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008104 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, depth, reading, ts
Sensor: lightning | fields: qc, lon, type, ts
Task: Get depth from cloud_cover where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008105 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, level, value, unit
Sensor: sunlight | fields: level, unit, lat, value
Task: Fetch reading from air_quality that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008106 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, unit, qc, reading
Sensor: drought_index | fields: qc, level, unit, ts
Task: Get depth from humidity where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008107 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, value, lat, reading
Sensor: air_quality | fields: unit, ts, type, reading
Task: Get lon from wind_speed where depth exceeds the average reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008108 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, lat, reading, depth
Sensor: frost | fields: type, ts, depth, lon
Task: Fetch depth from pressure where reading is greater than the maximum of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008109 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lat, reading, qc, type
Sensor: cloud_cover | fields: lon, lat, value, unit
Task: Get value from temperature where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008110 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, lon, qc, ts
Sensor: rainfall | fields: type, lat, qc, lon
Task: Retrieve lon from uv_index with depth above the COUNT(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008111 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, reading, type, depth
Sensor: turbidity | fields: level, ts, type, lon
Task: Get lon from drought_index where depth exceeds the total depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008112 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, level, qc, reading
Sensor: air_quality | fields: lon, lat, type, value
Task: Fetch lat from turbidity where depth is greater than the count of of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008113 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lon, depth, lat, type
Sensor: cloud_cover | fields: lon, level, reading, depth
Task: Retrieve level from pressure that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008114 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lat, level, type, lon
Sensor: pressure | fields: lon, depth, level, lat
Task: Get lat from evaporation where depth appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008115 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: ts, reading, unit, value
Sensor: dew_point | fields: qc, lon, lat, reading
Task: Fetch value from air_quality where value is greater than the count of of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008116 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, level, value, type
Sensor: soil_moisture | fields: depth, value, qc, ts
Task: Fetch lon from drought_index where reading is greater than the count of of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008117 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, value, ts, unit
Sensor: evaporation | fields: qc, depth, reading, ts
Task: Fetch lat from visibility where depth is greater than the count of of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008118 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, qc, unit, depth
Sensor: pressure | fields: qc, reading, unit, lon
Task: Retrieve lon from cloud_cover that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008119 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, level, value, depth
Sensor: evaporation | fields: level, value, depth, qc
Task: Get lat from drought_index where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008120 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, ts, level, unit
Sensor: snow_depth | fields: level, value, reading, lat
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008121 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, depth, value, lat
Sensor: humidity | fields: reading, depth, unit, qc
Task: Fetch depth from cloud_cover that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008122 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lat, value, lon, qc
Sensor: snow_depth | fields: ts, level, unit, qc
Task: Retrieve lat from temperature whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008123 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: qc, type, unit, reading
Sensor: snow_depth | fields: qc, value, level, lat
Task: Retrieve value from evaporation that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008124 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, depth, ts, lon
Sensor: dew_point | fields: type, unit, lat, lon
Task: Get value from frost where depth exceeds the maximum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008125 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, lon, unit, depth
Sensor: wind_speed | fields: level, type, ts, lat
Task: Retrieve reading from soil_moisture whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008126 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: level, unit, value, reading
Sensor: uv_index | fields: depth, reading, lat, type
Task: Retrieve depth from lightning with depth above the AVG(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008127 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, type, depth, lon
Sensor: snow_depth | fields: lon, type, depth, reading
Task: Retrieve level from visibility with reading above the COUNT(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008128 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, lon, value, ts
Sensor: cloud_cover | fields: type, qc, lon, unit
Task: Fetch lat from pressure that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008129 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: ts, type, lon, level
Sensor: humidity | fields: type, unit, value, lat
Task: Fetch reading from lightning where type exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008130 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: qc, lon, depth, ts
Sensor: soil_moisture | fields: reading, lat, level, ts
Task: Fetch value from turbidity that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008131 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, level, unit, value
Sensor: soil_moisture | fields: lat, unit, value, depth
Task: Get lat from turbidity where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008132 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, unit, lon, level
Sensor: evaporation | fields: depth, lat, value, type
Task: Retrieve depth from soil_moisture that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008133 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, level, type, value
Sensor: cloud_cover | fields: reading, unit, qc, type
Task: Fetch lat from visibility where value is greater than the minimum of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008134 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, qc, value, lat
Sensor: frost | fields: qc, lat, unit, type
Task: Retrieve depth from temperature that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008135 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, depth, qc, ts
Sensor: lightning | fields: value, depth, ts, lat
Task: Get lon from pressure where depth appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008136 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, qc, lon, unit
Sensor: visibility | fields: value, level, depth, ts
Task: Fetch lat from cloud_cover where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008137 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lat, qc, depth, level
Sensor: rainfall | fields: type, ts, reading, qc
Task: Retrieve depth from turbidity whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008138 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: unit, type, ts, qc
Sensor: dew_point | fields: qc, unit, lat, type
Task: Retrieve value from lightning that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008139 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, depth, unit, lon
Sensor: frost | fields: reading, lat, type, ts
Task: Get level from uv_index where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008140 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, qc, reading, unit
Sensor: drought_index | fields: qc, value, reading, depth
Task: Retrieve reading from pressure whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008141 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, lon, value, type
Sensor: temperature | fields: type, depth, reading, lon
Task: Fetch lon from cloud_cover where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008142 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: qc, value, unit, type
Sensor: wind_speed | fields: ts, lon, unit, value
Task: Retrieve depth from evaporation that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008143 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, level, unit, reading
Sensor: wind_speed | fields: reading, depth, type, value
Task: Retrieve lat from rainfall that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008144 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, ts, qc, type
Sensor: temperature | fields: unit, level, type, ts
Task: Get depth from frost where value exceeds the count of depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008145 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, type, unit, qc
Sensor: frost | fields: type, value, lat, level
Task: Retrieve lon from rainfall with value above the MIN(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008146 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, level, value, depth
Sensor: wind_speed | fields: unit, depth, type, ts
Task: Fetch value from lightning that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008147 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: unit, ts, lat, depth
Sensor: snow_depth | fields: level, value, qc, unit
Task: Get reading from sunlight where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008148 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, type, ts, depth
Sensor: drought_index | fields: type, unit, lat, value
Task: Retrieve lat from turbidity with reading above the MAX(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008149 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, reading, level, value
Sensor: pressure | fields: value, qc, lat, lon
Task: Get reading from soil_moisture where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008150 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: level, lat, value, reading
Sensor: drought_index | fields: lat, qc, depth, level
Task: Fetch depth from pressure where depth is greater than the minimum of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008151 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, depth, qc, lat
Sensor: cloud_cover | fields: type, level, reading, qc
Task: Retrieve lat from frost whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008152 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, lon, reading, level
Sensor: evaporation | fields: reading, unit, level, qc
Task: Retrieve lat from visibility with value above the MIN(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008153 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, depth, qc, reading
Sensor: snow_depth | fields: depth, ts, reading, qc
Task: Fetch lon from pressure where unit exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008154 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, unit, qc, type
Sensor: turbidity | fields: qc, value, type, depth
Task: Retrieve value from drought_index with reading above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008155 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: type, reading, qc, unit
Sensor: uv_index | fields: reading, lat, lon, value
Task: Fetch depth from wind_speed where value is greater than the total of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008156 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, lat, qc, ts
Sensor: soil_moisture | fields: qc, depth, lon, reading
Task: Fetch lat from dew_point where depth is greater than the minimum of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008157 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, type, level, reading
Sensor: rainfall | fields: depth, value, type, level
Task: Get reading from cloud_cover where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008158 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, qc, reading, type
Sensor: frost | fields: unit, level, lon, type
Task: Fetch lon from lightning where value is greater than the minimum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008159 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: qc, value, level, ts
Sensor: temperature | fields: lon, reading, unit, lat
Task: Get depth from humidity where depth exceeds the average depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008160 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: qc, reading, ts, type
Sensor: drought_index | fields: lon, depth, ts, level
Task: Retrieve depth from visibility with depth above the COUNT(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008161 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: ts, value, level, qc
Sensor: drought_index | fields: qc, lat, ts, value
Task: Get lat from frost where qc appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008162 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, level, reading, qc
Sensor: visibility | fields: lat, level, type, unit
Task: Retrieve reading from wind_speed that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008163 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, reading, unit, type
Sensor: air_quality | fields: reading, level, unit, depth
Task: Get lat from frost where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008164 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lat, value, unit, ts
Sensor: snow_depth | fields: type, lon, ts, reading
Task: Retrieve depth from uv_index with value above the SUM(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008165 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: reading, depth, type, unit
Sensor: soil_moisture | fields: value, lat, depth, qc
Task: Retrieve depth from frost that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008166 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, lat, level, type
Sensor: uv_index | fields: reading, ts, unit, lon
Task: Fetch level from visibility where ts exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008167 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: depth, type, lon, value
Sensor: frost | fields: depth, unit, ts, level
Task: Retrieve depth from turbidity that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008168 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, ts, qc, depth
Sensor: visibility | fields: unit, ts, lat, lon
Task: Fetch lon from cloud_cover where value is greater than the minimum of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008169 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, value, type, ts
Sensor: wind_speed | fields: type, qc, lon, reading
Task: Fetch level from cloud_cover where value is greater than the average of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008170 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, lon, reading, lat
Sensor: drought_index | fields: value, type, ts, depth
Task: Fetch level from air_quality where value is greater than the average of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008171 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: unit, lon, reading, value
Sensor: uv_index | fields: qc, unit, ts, lat
Task: Fetch reading from dew_point where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008172 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, reading, type, ts
Sensor: wind_speed | fields: reading, depth, unit, type
Task: Retrieve depth from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008173 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, ts, unit, depth
Sensor: dew_point | fields: depth, reading, lat, lon
Task: Get level from frost where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008174 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, type, lon, unit
Sensor: rainfall | fields: lat, level, depth, value
Task: Retrieve reading from evaporation with reading above the MAX(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008175 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, value, ts, qc
Sensor: drought_index | fields: ts, level, depth, reading
Task: Get reading from humidity where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008176 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: level, value, unit, type
Sensor: humidity | fields: lat, level, unit, lon
Task: Get reading from wind_speed where value exceeds the average reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008177 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: value, ts, type, reading
Sensor: sunlight | fields: depth, level, reading, unit
Task: Retrieve level from wind_speed whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008178 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, lat, depth, lon
Sensor: lightning | fields: lon, type, value, ts
Task: Get reading from soil_moisture where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008179 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: level, depth, qc, ts
Sensor: humidity | fields: ts, lon, depth, level
Task: Fetch reading from air_quality where ts exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008180 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: type, value, unit, level
Sensor: dew_point | fields: ts, level, reading, qc
Task: Retrieve reading from evaporation with value above the COUNT(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008181 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: value, level, lon, reading
Sensor: sunlight | fields: qc, type, depth, unit
Task: Retrieve lat from turbidity whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008182 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lon, lat, unit
Sensor: humidity | fields: level, type, depth, ts
Task: Fetch depth from cloud_cover where value is greater than the minimum of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008183 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, ts, unit, lon
Sensor: sunlight | fields: reading, lon, type, value
Task: Get reading from wind_speed where type appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008184 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: reading, level, qc, depth
Sensor: cloud_cover | fields: qc, reading, value, type
Task: Retrieve value from temperature whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008185 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: unit, depth, level, qc
Sensor: rainfall | fields: value, qc, depth, lat
Task: Get level from uv_index where value exceeds the minimum value from rainfall for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008186 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, value, lat, reading
Sensor: dew_point | fields: reading, lat, qc, lon
Task: Fetch lon from temperature where depth is greater than the average of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008187 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, lon, value, ts
Sensor: air_quality | fields: value, lat, ts, type
Task: Retrieve lat from snow_depth with value above the COUNT(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008188 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: type, value, level, qc
Sensor: soil_moisture | fields: depth, lat, qc, lon
Task: Retrieve lat from dew_point that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008189 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lon, lat, reading
Sensor: evaporation | fields: value, qc, level, ts
Task: Fetch value from rainfall where reading is greater than the average of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008190 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: qc, type, depth, lon
Sensor: soil_moisture | fields: unit, reading, depth, level
Task: Retrieve lat from pressure with value above the MAX(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008191 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, qc, type, value
Sensor: dew_point | fields: lon, qc, level, depth
Task: Retrieve lon from soil_moisture that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008192 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, qc, reading, level
Sensor: humidity | fields: level, value, qc, depth
Task: Fetch reading from dew_point where qc exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008193 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lat, level, type, reading
Sensor: visibility | fields: value, unit, level, depth
Task: Get reading from rainfall where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008194 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, lon, depth, qc
Sensor: drought_index | fields: depth, lon, level, qc
Task: Get lat from soil_moisture where reading exceeds the total reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008195 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: type, lon, ts, lat
Sensor: lightning | fields: value, type, lat, depth
Task: Fetch level from air_quality that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008196 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, depth, unit, value
Sensor: visibility | fields: depth, reading, unit, value
Task: Fetch lat from dew_point where value is greater than the minimum of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008197 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, reading, unit, level
Sensor: soil_moisture | fields: qc, lon, level, reading
Task: Retrieve depth from frost with reading above the MAX(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008198 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, depth, lat, level
Sensor: cloud_cover | fields: type, depth, value, lon
Task: Fetch value from lightning that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.