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: temperature | code: ref | fields: level, unit, reading, type
Sensor: visibility | fields: unit, qc, type, lat
Task: Retrieve reading from temperature that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077900 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lon, type, value
Sensor: wind_speed | fields: type, depth, ts, lon
Task: Get reading from snow_depth where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077901 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: qc, ts, level, depth
Sensor: frost | fields: lat, level, ts, unit
Task: Retrieve level from drought_index that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077902 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: ts, level, qc, lon
Sensor: lightning | fields: value, ts, depth, lon
Task: Retrieve level from uv_index whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077903 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lat, type, qc
Sensor: cloud_cover | fields: qc, value, ts, depth
Task: Retrieve lon from dew_point that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077904 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, level, type, ts
Sensor: pressure | fields: qc, level, type, lon
Task: Fetch lon from drought_index where reading is greater than the total of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077905 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, lat, unit, depth
Sensor: wind_speed | fields: qc, lat, level, ts
Task: Fetch lon from temperature where depth is greater than the minimum of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077906 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, depth, level, lat
Sensor: rainfall | fields: ts, unit, qc, type
Task: Fetch level from humidity where reading is greater than the minimum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077907 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, unit, reading, type
Sensor: soil_moisture | fields: qc, reading, lon, ts
Task: Fetch level from humidity where value is greater than the minimum of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077908 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, ts, lat, depth
Sensor: drought_index | fields: reading, ts, lat, qc
Task: Fetch level from snow_depth where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077909 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, type, depth, qc
Sensor: drought_index | fields: reading, value, qc, lon
Task: Retrieve value from evaporation with value above the COUNT(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077910 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, value, reading, lat
Sensor: visibility | fields: value, reading, depth, ts
Task: Fetch value from wind_speed where depth is greater than the average of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077911 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, type, qc, reading
Sensor: sunlight | fields: qc, reading, ts, value
Task: Fetch lon from humidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077912 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, lon, reading, lat
Sensor: pressure | fields: lat, depth, lon, ts
Task: Get depth from temperature where depth exceeds the count of value from pressure for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077913 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, value, level, ts
Sensor: lightning | fields: lat, lon, reading, qc
Task: Fetch depth from pressure that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077914 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, level, lat, depth
Sensor: cloud_cover | fields: depth, unit, ts, type
Task: Get value from soil_moisture where reading exceeds the minimum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077915 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, ts, reading, value
Sensor: lightning | fields: unit, depth, lat, ts
Task: Get level from turbidity where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077916 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: unit, depth, level, lon
Sensor: humidity | fields: reading, unit, ts, type
Task: Retrieve lat from frost with value above the AVG(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077917 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: value, lat, depth, qc
Sensor: air_quality | fields: lat, type, level, lon
Task: Fetch depth from turbidity where depth is greater than the maximum of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077918 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, level, reading, value
Sensor: uv_index | fields: reading, lat, ts, qc
Task: Fetch level from dew_point that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077919 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, depth, reading, level
Sensor: lightning | fields: qc, ts, lat, level
Task: Fetch level from uv_index where value is greater than the total of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077920 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, lat, unit, type
Sensor: temperature | fields: lat, level, value, unit
Task: Retrieve lat from drought_index that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077921 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, ts, qc, reading
Sensor: visibility | fields: value, level, lat, type
Task: Get reading from snow_depth where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077922 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, value, lon, qc
Sensor: sunlight | fields: reading, depth, lat, qc
Task: Get value from air_quality where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077923 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, unit, lat, depth
Sensor: rainfall | fields: unit, value, type, level
Task: Fetch value from humidity that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077924 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: level, type, depth, unit
Sensor: rainfall | fields: reading, unit, lon, depth
Task: Fetch lat from frost where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077925 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, depth, level, lon
Sensor: sunlight | fields: reading, depth, lat, lon
Task: Fetch value from turbidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077926 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, qc, depth, unit
Sensor: visibility | fields: unit, lat, depth, type
Task: Fetch lon from pressure where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077927 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, reading, value, qc
Sensor: frost | fields: type, depth, level, value
Task: Fetch depth from snow_depth that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077928 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lon, reading, ts, type
Sensor: pressure | fields: depth, level, reading, qc
Task: Get lon from humidity where reading exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077929 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, qc, unit, depth
Sensor: uv_index | fields: lon, unit, value, type
Task: Retrieve lat from soil_moisture with reading above the SUM(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077930 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, level, lat, reading
Sensor: sunlight | fields: lat, lon, ts, qc
Task: Retrieve lat from uv_index with depth above the MAX(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077931 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, level, depth, reading
Sensor: pressure | fields: lon, type, level, value
Task: Fetch lat from wind_speed where depth exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077932 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, level, qc, unit
Sensor: humidity | fields: depth, type, value, lat
Task: Retrieve value from air_quality that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077933 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: value, level, reading, depth
Sensor: humidity | fields: unit, type, qc, ts
Task: Fetch lon from evaporation that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077934 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, reading, lon, type
Sensor: pressure | fields: unit, lon, depth, type
Task: Retrieve value from temperature with value above the MIN(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077935 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, level, depth, reading
Sensor: drought_index | fields: ts, level, type, reading
Task: Get depth from pressure where depth exceeds the total value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077936 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, qc, ts, reading
Sensor: pressure | fields: depth, lon, qc, value
Task: Fetch reading from cloud_cover where depth is greater than the count of of value in pressure for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077937 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, lat, lon, qc
Sensor: drought_index | fields: lat, reading, level, type
Task: Fetch depth from rainfall where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077938 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, lon, reading, lat
Sensor: temperature | fields: ts, level, depth, reading
Task: Fetch lon from rainfall that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077939 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lon, value, level, type
Sensor: pressure | fields: lat, value, type, unit
Task: Fetch value from drought_index where depth is greater than the average of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077940 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, qc, level, ts
Sensor: uv_index | fields: level, ts, depth, value
Task: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077941 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lat, depth, reading
Sensor: air_quality | fields: unit, value, type, qc
Task: Get value from soil_moisture where depth exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077942 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, ts, level, type
Sensor: wind_speed | fields: unit, reading, level, value
Task: Retrieve lat from rainfall whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077943 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: value, type, lat, reading
Sensor: snow_depth | fields: type, unit, qc, lat
Task: Fetch level from visibility where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077944 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, ts, reading, value
Sensor: drought_index | fields: level, reading, type, depth
Task: Fetch value from cloud_cover where value is greater than the minimum of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077945 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, type, reading, lon
Sensor: air_quality | fields: reading, type, lon, lat
Task: Fetch reading from drought_index that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077946 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, unit, ts, value
Sensor: drought_index | fields: level, value, unit, qc
Task: Fetch lat from dew_point that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077947 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: value, ts, type, reading
Sensor: wind_speed | fields: depth, lat, reading, lon
Task: Fetch lon from pressure where depth exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077948 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, level, qc, lon
Sensor: turbidity | fields: reading, lon, qc, level
Task: Get depth from soil_moisture where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077949 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, reading, type, lon
Sensor: temperature | fields: value, reading, qc, type
Task: Fetch lon from evaporation where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077950 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: value, qc, level, unit
Sensor: visibility | fields: unit, type, lon, qc
Task: Retrieve reading from humidity whose ts is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077951 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, lat, type, qc
Sensor: uv_index | fields: unit, lon, qc, depth
Task: Fetch lon from pressure that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077952 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: qc, lon, ts, reading
Sensor: evaporation | fields: qc, ts, lon, value
Task: Fetch lat from air_quality where depth is greater than the maximum of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077953 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: qc, reading, ts, depth
Sensor: frost | fields: depth, unit, ts, value
Task: Retrieve reading from lightning with depth above the MIN(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077954 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: reading, qc, type, unit
Sensor: wind_speed | fields: lon, type, depth, ts
Task: Get lon from pressure where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077955 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, ts, value, lon
Sensor: humidity | fields: value, qc, lat, lon
Task: Retrieve depth from temperature with depth above the MIN(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077956 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, ts, unit, depth
Sensor: visibility | fields: qc, unit, ts, lon
Task: Fetch lat from air_quality where value is greater than the maximum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077957 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lat, lon, reading
Sensor: uv_index | fields: lat, value, level, reading
Task: Get reading from air_quality where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077958 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, value, unit, reading
Sensor: air_quality | fields: value, level, ts, reading
Task: Get level from humidity where depth exceeds the minimum depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077959 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, value, type, qc
Sensor: rainfall | fields: level, reading, depth, value
Task: Retrieve level from snow_depth whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077960 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, unit, reading, value
Sensor: cloud_cover | fields: reading, lat, lon, value
Task: Fetch lon from wind_speed where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077961 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, reading, value, ts
Sensor: pressure | fields: lon, value, reading, depth
Task: Get lat from humidity where value exceeds the minimum reading from pressure for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077962 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: value, reading, depth, ts
Sensor: uv_index | fields: value, lon, qc, ts
Task: Fetch level from sunlight that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077963 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: value, depth, level, unit
Sensor: snow_depth | fields: level, ts, reading, lon
Task: Fetch reading from wind_speed that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077964 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, lat, level
Sensor: cloud_cover | fields: unit, ts, depth, type
Task: Get level from drought_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077965 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, type, unit, lon
Sensor: turbidity | fields: ts, lat, qc, unit
Task: Get depth from sunlight where depth exceeds the average value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077966 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, value, lon, unit
Sensor: rainfall | fields: lat, level, depth, ts
Task: Retrieve reading from uv_index whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077967 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, ts, lon, level
Sensor: uv_index | fields: reading, ts, depth, value
Task: Fetch lat from turbidity where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077968 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, depth, lat, type
Sensor: snow_depth | fields: ts, lon, level, unit
Task: Get value from air_quality where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077969 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: qc, value, ts, lat
Sensor: temperature | fields: level, lat, unit, ts
Task: Get lat from pressure where value exceeds the total reading from temperature for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077970 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: qc, value, reading, lon
Sensor: uv_index | fields: unit, ts, lat, lon
Task: Retrieve value from drought_index whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077971 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: ts, qc, reading, type
Sensor: frost | fields: value, ts, qc, depth
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="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077972 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: qc, value, lat, ts
Sensor: air_quality | fields: ts, unit, level, value
Task: Get depth from sunlight where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077973 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, depth, value, qc
Sensor: humidity | fields: qc, reading, value, depth
Task: Fetch level from wind_speed that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077974 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, lat, ts, level
Sensor: wind_speed | fields: reading, level, depth, lon
Task: Get value from turbidity where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077975 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: type, lat, unit, lon
Sensor: evaporation | fields: type, level, value, lat
Task: Get depth from rainfall where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077976 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: unit, lat, ts, type
Sensor: visibility | fields: qc, lat, value, lon
Task: Retrieve value from humidity whose qc is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077977 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, lon, ts, type
Sensor: rainfall | fields: reading, depth, type, level
Task: Get lat from temperature where reading exceeds the maximum value from rainfall for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077978 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, unit, qc, reading
Sensor: pressure | fields: ts, type, lon, qc
Task: Retrieve lat from snow_depth that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077979 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, lon, type, qc
Sensor: uv_index | fields: level, qc, depth, type
Task: Get value from visibility where value exceeds the count of depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077980 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, value, depth, lat
Sensor: soil_moisture | fields: type, reading, level, qc
Task: Fetch lon from cloud_cover where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077981 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, qc, unit
Sensor: pressure | fields: reading, ts, depth, unit
Task: Fetch level from temperature that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077982 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lon, depth, ts
Sensor: frost | fields: unit, type, value, lon
Task: Retrieve depth from uv_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077983 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, lon, reading, value
Sensor: evaporation | fields: ts, level, reading, qc
Task: Retrieve value from air_quality that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077984 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, level, lon, type
Sensor: soil_moisture | fields: value, reading, lon, type
Task: Fetch depth from cloud_cover that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077985 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, unit, lon, ts
Sensor: snow_depth | fields: qc, level, lat, depth
Task: Get value from drought_index where value exceeds the minimum reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077986 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lon, level, type, value
Sensor: air_quality | fields: unit, reading, ts, depth
Task: Retrieve depth from sunlight that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077987 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: qc, level, lon, reading
Sensor: dew_point | fields: depth, lat, qc, unit
Task: Fetch depth from rainfall that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077988 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, value, ts, qc
Sensor: sunlight | fields: depth, qc, value, level
Task: Retrieve lon from dew_point that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077989 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, value, reading, unit
Sensor: temperature | fields: reading, ts, lon, lat
Task: Fetch lat from soil_moisture where value is greater than the count of of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077990 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lat, value, ts
Sensor: turbidity | fields: lat, ts, depth, type
Task: Fetch reading from dew_point where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077991 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, reading, type, unit
Sensor: pressure | fields: qc, lon, type, depth
Task: Retrieve lat from dew_point that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077992 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, type, unit, value
Sensor: visibility | fields: qc, lon, unit, reading
Task: Retrieve value from soil_moisture whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077993 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: level, depth, lon, value
Sensor: humidity | fields: qc, type, value, lat
Task: Retrieve lon from pressure whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077994 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, lat, qc, type
Sensor: evaporation | fields: reading, lon, type, qc
Task: Fetch level from dew_point where reading is greater than the count of of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077995 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: reading, unit, lon, value
Sensor: lightning | fields: level, lat, qc, type
Task: Fetch depth from drought_index where value is greater than the count of of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077996 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: depth, value, type, lat
Sensor: rainfall | fields: qc, unit, value, lon
Task: Get depth from frost where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077997 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, unit, lon, reading
Sensor: uv_index | fields: value, lon, reading, qc
Task: Retrieve lat from pressure with depth above the AVG(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077998 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: reading, unit, level, depth
Sensor: evaporation | fields: depth, lat, qc, type
Task: Get depth from dew_point where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.