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: temperature | code: ref | fields: type, qc, depth, unit
Sensor: snow_depth | fields: type, value, unit, lon
Task: Get lat from temperature where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069400 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, lat, unit, level
Sensor: humidity | fields: depth, ts, qc, lat
Task: Fetch lat from soil_moisture where depth exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069401 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, lat, qc, depth
Sensor: lightning | fields: type, reading, lon, ts
Task: Fetch lon 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="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069402 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, type, ts, lon
Sensor: humidity | fields: ts, lon, reading, value
Task: Fetch reading from visibility that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069403 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: unit, reading, level, depth
Sensor: snow_depth | fields: lat, reading, ts, qc
Task: Get level from dew_point where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069404 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, qc, reading, lat
Sensor: lightning | fields: type, lon, level, ts
Task: Get depth from cloud_cover where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069405 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, ts, lon, lat
Sensor: uv_index | fields: unit, depth, ts, lon
Task: Fetch depth from snow_depth where reading is greater than the maximum of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069406 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, level, reading, depth
Sensor: pressure | fields: unit, reading, ts, value
Task: Fetch value from dew_point where depth is greater than the total of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069407 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, lat, ts, reading
Sensor: evaporation | fields: level, reading, depth, lon
Task: Get lon from dew_point where depth exceeds the maximum reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069408 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, qc, unit
Sensor: air_quality | fields: reading, ts, lat, type
Task: Fetch level from snow_depth where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069409 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, lon, lat, type
Sensor: wind_speed | fields: lat, lon, qc, depth
Task: Retrieve depth from snow_depth that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069410 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, value, unit, ts
Sensor: humidity | fields: lat, level, ts, depth
Task: Get lat from air_quality where depth exceeds the maximum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069411 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lon, level, lat, type
Sensor: soil_moisture | fields: qc, type, lat, reading
Task: Get lon from drought_index where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069412 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, value, qc, ts
Sensor: frost | fields: type, unit, ts, lon
Task: Retrieve reading from lightning whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069413 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, type, value, ts
Sensor: temperature | fields: level, type, value, lon
Task: Fetch reading from wind_speed where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069414 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lon, lat, qc, level
Sensor: air_quality | fields: type, level, ts, depth
Task: Retrieve lat from lightning that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069415 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, reading, type, value
Sensor: air_quality | fields: lon, type, ts, lat
Task: Fetch depth from dew_point that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069416 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, value, depth, lon
Sensor: humidity | fields: level, unit, depth, value
Task: Get value from soil_moisture where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069417 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, reading, lon, type
Sensor: air_quality | fields: level, ts, type, depth
Task: Get lat from humidity where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069418 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: unit, value, type, lat
Sensor: lightning | fields: depth, qc, ts, level
Task: Get lat from dew_point where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069419 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, type, qc, lon
Sensor: visibility | fields: lon, level, ts, unit
Task: Retrieve level from air_quality with reading above the AVG(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069420 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: level, lat, depth, lon
Sensor: wind_speed | fields: level, lat, ts, value
Task: Retrieve lat from frost that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069421 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, lon, lat, level
Sensor: visibility | fields: value, lat, qc, depth
Task: Fetch reading from humidity that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069422 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: type, lon, qc, value
Sensor: air_quality | fields: ts, level, lon, type
Task: Fetch lon from sunlight where reading is greater than the maximum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069423 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, lat, type, value
Sensor: turbidity | fields: type, level, ts, value
Task: Get level from drought_index where unit appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069424 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, type, ts, value
Sensor: frost | fields: level, ts, depth, unit
Task: Get depth from soil_moisture where depth exceeds the minimum value from frost for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069425 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: depth, reading, type, lat
Sensor: rainfall | fields: unit, reading, depth, value
Task: Fetch value from dew_point that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069426 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, value, type, unit
Sensor: drought_index | fields: level, value, qc, lat
Task: Fetch reading from frost where value is greater than the minimum of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069427 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, reading, depth, lon
Sensor: cloud_cover | fields: qc, depth, unit, type
Task: Retrieve value from sunlight that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069428 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, lat, reading, qc
Sensor: temperature | fields: depth, value, reading, ts
Task: Get value from turbidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069429 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: reading, depth, lat, unit
Sensor: temperature | fields: qc, unit, ts, type
Task: Fetch lat from evaporation where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069430 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, value, ts, lat
Sensor: air_quality | fields: reading, lon, depth, qc
Task: Fetch lat from lightning where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069431 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, value, lon, qc
Sensor: air_quality | fields: lon, type, level, value
Task: Get lon from turbidity where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069432 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: value, type, ts, level
Sensor: turbidity | fields: value, level, lon, type
Task: Retrieve level from dew_point that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069433 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, depth, value, unit
Sensor: rainfall | fields: ts, reading, lon, lat
Task: Get value from air_quality where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069434 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, lon, reading, type
Sensor: wind_speed | fields: level, type, reading, depth
Task: Get reading from visibility where value exceeds the count of value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069435 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: ts, lon, qc, level
Sensor: evaporation | fields: lon, value, depth, ts
Task: Retrieve reading from temperature that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069436 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, lat, depth, level
Sensor: rainfall | fields: depth, lat, type, ts
Task: Get reading from drought_index where value exceeds the minimum reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069437 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, lat, unit, level
Sensor: air_quality | fields: reading, depth, value, ts
Task: Get lat from wind_speed where depth appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069438 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: qc, unit, value, lon
Sensor: soil_moisture | fields: lat, unit, level, qc
Task: Get level from air_quality where value exceeds the average depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"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_069439 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, depth, level, type
Sensor: lightning | fields: level, reading, qc, type
Task: Retrieve lon from sunlight that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069440 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, lat, depth, unit
Sensor: visibility | fields: reading, unit, level, lat
Task: Retrieve lat from cloud_cover that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069441 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, ts, lon, lat
Sensor: temperature | fields: lon, type, level, ts
Task: Fetch depth from dew_point that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069442 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, type, lat, qc
Sensor: visibility | fields: reading, unit, level, type
Task: Retrieve lat from cloud_cover whose qc is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069443 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, depth, value, ts
Sensor: uv_index | fields: qc, unit, level, lon
Task: Retrieve value from rainfall whose ts is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069444 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: unit, lat, reading, lon
Sensor: pressure | fields: reading, depth, value, lon
Task: Retrieve value from drought_index with value above the MAX(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069445 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, type, qc, lon
Sensor: turbidity | fields: level, depth, qc, lat
Task: Get level from lightning where value exceeds the maximum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069446 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, ts, depth, lon
Sensor: frost | fields: lon, level, unit, qc
Task: Fetch value from pressure that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069447 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, unit, lon, depth
Sensor: air_quality | fields: lon, unit, reading, depth
Task: Fetch reading from humidity where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069448 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, lat, type, reading
Sensor: sunlight | fields: depth, unit, level, ts
Task: Fetch lon from turbidity that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069449 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, lon, type, qc
Sensor: sunlight | fields: value, ts, lat, reading
Task: Fetch level from rainfall where reading is greater than the count of of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069450 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: value, unit, qc, type
Sensor: turbidity | fields: ts, level, value, depth
Task: Retrieve level from air_quality that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069451 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, depth, ts, level
Sensor: humidity | fields: level, type, value, ts
Task: Fetch level from pressure that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069452 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, value, level, ts
Sensor: sunlight | fields: reading, unit, lat, level
Task: Retrieve level from rainfall whose qc is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069453 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, depth, unit, reading
Sensor: cloud_cover | fields: depth, level, lon, reading
Task: Get level from wind_speed where depth exceeds the minimum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069454 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, lon, reading
Sensor: visibility | fields: level, reading, value, qc
Task: Retrieve level from soil_moisture with depth above the MAX(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069455 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, depth, unit, lat
Sensor: cloud_cover | fields: lat, unit, lon, value
Task: Get value from visibility where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069456 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, reading, qc, value
Sensor: dew_point | fields: depth, qc, lat, lon
Task: Retrieve value from sunlight that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069457 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, depth, qc, lat
Sensor: dew_point | fields: qc, level, unit, type
Task: Get reading from snow_depth where depth exceeds the count of depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069458 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, unit, qc, value
Sensor: uv_index | fields: lat, type, ts, level
Task: Fetch depth from drought_index that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069459 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, lon, unit, value
Sensor: evaporation | fields: lon, ts, value, lat
Task: Get level from visibility where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069460 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lon, qc, depth, type
Sensor: turbidity | fields: type, lat, unit, level
Task: Retrieve lon from evaporation whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069461 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: unit, type, level, lon
Sensor: evaporation | fields: lon, lat, reading, level
Task: Retrieve depth from visibility that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069462 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, ts, qc, lon
Sensor: sunlight | fields: depth, level, qc, ts
Task: Fetch depth from rainfall that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069463 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: reading, type, unit, level
Sensor: drought_index | fields: unit, value, depth, lon
Task: Get reading from evaporation where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069464 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lat, ts, lon, type
Sensor: evaporation | fields: qc, type, value, lat
Task: Retrieve value from uv_index with depth above the COUNT(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069465 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, ts, depth, qc
Sensor: evaporation | fields: lat, reading, unit, level
Task: Retrieve depth from frost that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069466 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, type, value, unit
Sensor: snow_depth | fields: value, unit, depth, level
Task: Fetch value from lightning where type exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069467 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lat, ts, depth, lon
Sensor: lightning | fields: value, lon, reading, lat
Task: Get level from sunlight where value exceeds the average depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069468 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, lat, level, ts
Sensor: evaporation | fields: lon, ts, level, type
Task: Retrieve lat from cloud_cover that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"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_069469 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: reading, level, lat, ts
Sensor: pressure | fields: lon, lat, qc, depth
Task: Fetch level from evaporation that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069470 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, level, lon, lat
Sensor: temperature | fields: type, reading, value, level
Task: Retrieve value from cloud_cover that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069471 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, unit, ts, reading
Sensor: temperature | fields: unit, level, depth, lat
Task: Get reading from lightning where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069472 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, value, ts, depth
Sensor: visibility | fields: value, unit, reading, level
Task: Get depth from pressure where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069473 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, lon, type, value
Sensor: temperature | fields: unit, value, level, lon
Task: Get level from soil_moisture where value exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
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": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069474 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, type, ts, unit
Sensor: cloud_cover | fields: type, reading, level, lon
Task: Get lat from soil_moisture where ts appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069475 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, value, level, lat
Sensor: air_quality | fields: lon, level, lat, type
Task: Fetch value from soil_moisture where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069476 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, ts, unit, level
Sensor: frost | fields: value, lat, unit, level
Task: Fetch reading from uv_index where depth is greater than the average of value in frost for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069477 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, ts, unit
Sensor: turbidity | fields: qc, level, unit, depth
Task: Fetch value from dew_point that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069478 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, value, reading, type
Sensor: wind_speed | fields: depth, value, lon, level
Task: Get value from sunlight where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069479 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, lat, depth
Sensor: cloud_cover | fields: lon, depth, qc, level
Task: Fetch reading from air_quality that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069480 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, value, reading, level
Sensor: frost | fields: ts, reading, type, qc
Task: Get depth from sunlight where ts appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069481 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, lat, ts, level
Sensor: frost | fields: qc, depth, type, level
Task: Get value from snow_depth where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069482 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: value, type, level, unit
Sensor: sunlight | fields: reading, level, ts, depth
Task: Retrieve lat from wind_speed that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069483 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lon, unit, qc, ts
Sensor: pressure | fields: reading, depth, level, ts
Task: Retrieve depth from temperature that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069484 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lat, unit, value
Sensor: turbidity | fields: depth, unit, lat, reading
Task: Fetch reading from evaporation where depth is greater than the maximum of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069485 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: depth, ts, unit, qc
Sensor: wind_speed | fields: ts, lat, type, level
Task: Fetch level from turbidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069486 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, depth, type, qc
Sensor: turbidity | fields: level, value, depth, lat
Task: Get depth from humidity where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069487 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, qc, lat, depth
Sensor: pressure | fields: level, qc, lon, depth
Task: Fetch value from visibility where value is greater than the count of of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069488 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, value, lon, reading
Sensor: snow_depth | fields: level, depth, unit, lat
Task: Fetch depth from uv_index where depth is greater than the minimum of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069489 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, reading, type, depth
Sensor: temperature | fields: type, lon, level, reading
Task: Get value from pressure where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069490 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, reading, qc, lat
Sensor: uv_index | fields: type, qc, lat, unit
Task: Fetch reading from cloud_cover that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069491 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, lat, reading, value
Sensor: sunlight | fields: level, unit, lon, qc
Task: Retrieve level from rainfall with value above the MIN(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069492 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, lon, ts, type
Sensor: uv_index | fields: reading, unit, qc, lat
Task: Fetch lat from humidity that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069493 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, unit, lon, type
Sensor: humidity | fields: depth, level, qc, lon
Task: Get lat from soil_moisture where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069494 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: value, unit, depth, level
Sensor: sunlight | fields: reading, value, level, qc
Task: Retrieve lat from snow_depth whose qc is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069495 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, type, lon, depth
Sensor: evaporation | fields: level, lon, type, reading
Task: Fetch level from sunlight where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069496 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: reading, qc, type, level
Sensor: rainfall | fields: lon, value, unit, type
Task: Get reading from visibility where value exceeds the count of value from rainfall for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069497 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: depth, qc, ts, lon
Sensor: dew_point | fields: unit, depth, reading, type
Task: Fetch depth from lightning where depth is greater than the maximum of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069498 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: value, level, depth, type
Sensor: temperature | fields: unit, reading, lat, type
Task: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.