variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, qc, unit, level
Sensor: turbidity | fields: value, depth, level, qc
Task: Fetch depth from temperature where value is greater than the count of of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083900 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: level, value, depth, type
Sensor: uv_index | fields: qc, unit, ts, reading
Task: Retrieve lon from rainfall whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083901 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, value, ts, qc
Sensor: humidity | fields: type, ts, value, lon
Task: Retrieve lon from air_quality with value above the AVG(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083902 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: level, unit, value, lon
Sensor: lightning | fields: lat, reading, qc, ts
Task: Retrieve reading from turbidity whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083903 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, depth, type, lon
Sensor: air_quality | fields: level, lon, value, lat
Task: Retrieve lat from uv_index whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083904 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, type, lon, level
Sensor: air_quality | fields: level, value, type, ts
Task: Get lat from frost where value exceeds the average depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083905 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, level, ts, type
Sensor: lightning | fields: qc, ts, level, lat
Task: Retrieve lat from sunlight with value above the SUM(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083906 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, depth, lon, level
Sensor: turbidity | fields: lat, depth, lon, unit
Task: Retrieve lat from sunlight that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083907 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, reading, unit, level
Sensor: frost | fields: level, lon, depth, lat
Task: Get lat from air_quality where value exceeds the total depth from frost for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083908 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: reading, level, lon, qc
Sensor: temperature | fields: value, qc, depth, level
Task: Retrieve reading from air_quality whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083909 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: level, qc, reading, lat
Sensor: air_quality | fields: ts, unit, lat, level
Task: Fetch reading from lightning where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083910 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, unit, reading, lon
Sensor: pressure | fields: lat, reading, type, value
Task: Get level from frost where reading exceeds the total depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083911 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, ts, reading, value
Sensor: frost | fields: lat, depth, reading, lon
Task: Get value from drought_index where value exceeds the average depth from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083912 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, level, depth, lat
Sensor: pressure | fields: ts, type, depth, qc
Task: Fetch level from cloud_cover that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083913 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, level, lat, qc
Sensor: visibility | fields: depth, lat, level, ts
Task: Get value from soil_moisture where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083914 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, depth, ts, reading
Sensor: dew_point | fields: reading, depth, value, ts
Task: Get lat from drought_index where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083915 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, level, ts, qc
Sensor: sunlight | fields: unit, depth, lat, level
Task: Get level from soil_moisture where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083916 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lon, unit, ts, depth
Sensor: soil_moisture | fields: ts, level, type, reading
Task: Fetch lon from turbidity where depth is greater than the maximum of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083917 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, lon, value, unit
Sensor: pressure | fields: reading, qc, value, type
Task: Fetch depth from cloud_cover where reading is greater than the count of of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083918 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, level, ts, qc
Sensor: humidity | fields: reading, value, unit, type
Task: Get level from cloud_cover where value exceeds the total depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083919 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: ts, qc, lat, value
Sensor: sunlight | fields: value, unit, type, reading
Task: Get reading from dew_point where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083920 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, ts, depth, level
Sensor: pressure | fields: reading, lon, type, depth
Task: Get value from sunlight where reading exceeds the average value from pressure for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083921 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, type, depth, lon
Sensor: uv_index | fields: lat, reading, lon, level
Task: Get reading from sunlight where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083922 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, qc, unit, type
Sensor: lightning | fields: unit, ts, lat, type
Task: Fetch level from cloud_cover where reading is greater than the maximum of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083923 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, ts, lon, type
Sensor: drought_index | fields: lon, depth, reading, lat
Task: Fetch depth from temperature that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083924 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, level, lon, lat
Sensor: dew_point | fields: unit, value, lon, level
Task: Fetch lon from wind_speed where reading is greater than the count of of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083925 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, depth, lat, level
Sensor: air_quality | fields: level, type, reading, depth
Task: Retrieve depth from frost whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083926 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: value, unit, qc, ts
Sensor: turbidity | fields: qc, value, depth, lat
Task: Retrieve value from uv_index that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083927 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, reading, depth, qc
Sensor: wind_speed | fields: ts, value, unit, qc
Task: Retrieve value from turbidity whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083928 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: depth, type, lon, value
Sensor: drought_index | fields: qc, lon, value, lat
Task: Get lat from dew_point where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083929 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, ts, depth, value
Sensor: drought_index | fields: reading, level, unit, type
Task: Get lat from sunlight where depth appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083930 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lon, lat, reading, ts
Sensor: soil_moisture | fields: depth, type, unit, value
Task: Fetch lon from air_quality where reading is greater than the average of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083931 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: level, unit, qc, ts
Sensor: lightning | fields: unit, ts, lon, type
Task: Retrieve value from humidity with depth above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083932 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, lon, unit, lat
Sensor: visibility | fields: ts, value, unit, reading
Task: Fetch value from snow_depth that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083933 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, lat, type, level
Sensor: dew_point | fields: lat, ts, type, depth
Task: Fetch lon from frost where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083934 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, value, lon, ts
Sensor: soil_moisture | fields: unit, depth, reading, level
Task: Fetch depth from wind_speed that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083935 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, lat, depth, unit
Sensor: wind_speed | fields: level, type, lon, depth
Task: Get lat from soil_moisture where depth exceeds the average depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083936 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, type, qc, lon
Sensor: drought_index | fields: unit, type, value, level
Task: Get value from humidity where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083937 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, type, level, ts
Sensor: wind_speed | fields: ts, type, lat, qc
Task: Get lat from frost where depth exceeds the count of value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083938 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, type, lat, level
Sensor: humidity | fields: lat, reading, depth, lon
Task: Retrieve lat from lightning whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083939 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lat, depth, level
Sensor: air_quality | fields: unit, level, depth, reading
Task: Fetch depth from sunlight where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083940 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: level, value, lat, depth
Sensor: uv_index | fields: level, reading, value, type
Task: Retrieve level from visibility whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083941 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, depth, qc, ts
Sensor: wind_speed | fields: lon, level, qc, lat
Task: Fetch lat from dew_point that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083942 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, type, lat, lon
Sensor: rainfall | fields: unit, qc, value, lat
Task: Retrieve depth from turbidity that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083943 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, qc, type, depth
Sensor: uv_index | fields: value, lat, depth, unit
Task: Fetch lon from frost where reading is greater than the minimum of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083944 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, value, unit, lat
Sensor: uv_index | fields: lon, depth, reading, ts
Task: Retrieve lat from visibility whose unit is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083945 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: depth, lon, ts, lat
Sensor: snow_depth | fields: qc, reading, unit, value
Task: Fetch reading from lightning that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083946 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: value, level, lat, reading
Sensor: drought_index | fields: ts, type, reading, qc
Task: Fetch level from visibility that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083947 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lon, value, depth
Sensor: wind_speed | fields: type, lon, value, unit
Task: Fetch reading from snow_depth that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083948 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: unit, lat, type, depth
Sensor: wind_speed | fields: lon, ts, type, qc
Task: Retrieve depth from pressure that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083949 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, value, ts, depth
Sensor: pressure | fields: reading, ts, unit, type
Task: Retrieve level from uv_index with depth above the MIN(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083950 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, lat, level, reading
Sensor: wind_speed | fields: depth, level, value, lat
Task: Retrieve lon from humidity with reading above the MAX(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083951 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: value, qc, unit, lon
Sensor: lightning | fields: lat, qc, reading, lon
Task: Retrieve level from temperature whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083952 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: value, unit, level, type
Sensor: drought_index | fields: lon, value, qc, unit
Task: Fetch value from visibility where ts exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083953 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, ts, level, depth
Sensor: wind_speed | fields: qc, type, reading, depth
Task: Fetch level from pressure that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083954 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, qc, reading, lat
Sensor: soil_moisture | fields: unit, type, lon, qc
Task: Fetch lat from air_quality where qc exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083955 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, reading, type, unit
Sensor: pressure | fields: qc, depth, lon, level
Task: Retrieve reading from turbidity whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083956 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, lon, level, reading
Sensor: humidity | fields: qc, depth, value, lat
Task: Fetch lat from evaporation where type exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083957 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, value, lon, lat
Sensor: rainfall | fields: depth, reading, lon, unit
Task: Fetch level from cloud_cover that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083958 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, unit, type, depth
Sensor: snow_depth | fields: reading, unit, type, lon
Task: Retrieve lon from evaporation that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083959 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, type, ts, reading
Sensor: lightning | fields: ts, qc, lat, lon
Task: Get depth from dew_point where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083960 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, unit, ts, lat
Sensor: dew_point | fields: lon, level, value, qc
Task: Fetch reading from snow_depth where depth is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083961 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: unit, lon, lat, ts
Sensor: sunlight | fields: unit, ts, reading, qc
Task: Get value from frost where depth exceeds the total value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083962 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, reading, value, level
Sensor: frost | fields: lon, unit, depth, lat
Task: Get lat from cloud_cover where value exceeds the maximum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083963 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: depth, lon, level, unit
Sensor: sunlight | fields: lon, ts, lat, depth
Task: Get value from humidity where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083964 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, lon, qc, unit
Sensor: evaporation | fields: lon, lat, level, type
Task: Fetch reading from cloud_cover where reading is greater than the average of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083965 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, level, qc, type
Sensor: temperature | fields: lat, unit, lon, value
Task: Retrieve lat from uv_index whose qc is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083966 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, ts, type, value
Sensor: evaporation | fields: lat, lon, depth, ts
Task: Fetch level from drought_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083967 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, unit, depth, ts
Sensor: rainfall | fields: unit, lat, level, value
Task: Fetch depth from uv_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083968 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, lon, reading, level
Sensor: wind_speed | fields: qc, ts, lon, type
Task: Get value from turbidity where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083969 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, reading, type, level
Sensor: dew_point | fields: lat, unit, ts, value
Task: Retrieve depth from pressure whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083970 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lat, ts, type
Sensor: humidity | fields: qc, unit, reading, level
Task: Get lon from uv_index where value exceeds the maximum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083971 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: type, lon, reading, value
Sensor: snow_depth | fields: depth, level, lat, lon
Task: Get lon from frost where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083972 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lat, value, unit, type
Sensor: snow_depth | fields: ts, value, unit, level
Task: Retrieve lat from drought_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083973 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: type, value, reading, level
Sensor: dew_point | fields: qc, level, reading, unit
Task: Get reading from frost where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083974 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, type, reading, lon
Sensor: rainfall | fields: lat, value, ts, type
Task: Get reading from pressure where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083975 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, type, ts, reading
Sensor: soil_moisture | fields: level, type, qc, depth
Task: Get lat from evaporation where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083976 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, reading, value, ts
Sensor: air_quality | fields: depth, level, lat, reading
Task: Get value from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083977 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, ts, reading, lon
Sensor: temperature | fields: lon, type, lat, reading
Task: Fetch level from soil_moisture that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083978 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, lon, reading, level
Sensor: lightning | fields: qc, type, unit, ts
Task: Retrieve value from temperature whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083979 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, type, level, lat
Sensor: wind_speed | fields: value, qc, lat, type
Task: Retrieve depth from temperature that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083980 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, lon, unit, value
Sensor: air_quality | fields: value, lat, lon, qc
Task: Retrieve depth from temperature with value above the COUNT(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083981 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: ts, qc, level, unit
Sensor: lightning | fields: level, lat, depth, value
Task: Get reading from pressure where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083982 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: level, lat, depth, value
Sensor: frost | fields: level, lat, ts, lon
Task: Get level from lightning where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083983 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, depth, level, lon
Sensor: air_quality | fields: qc, depth, type, level
Task: Retrieve lat from frost whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083984 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, type, lon, level
Sensor: soil_moisture | fields: reading, unit, value, depth
Task: Get level from air_quality where value exceeds the maximum value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083985 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: unit, qc, value, lat
Sensor: frost | fields: unit, reading, value, qc
Task: Get level from temperature where reading exceeds the count of reading from frost for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083986 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, qc, unit, reading
Sensor: sunlight | fields: lat, level, lon, depth
Task: Fetch value from humidity where depth is greater than the total of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083987 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, qc, level, ts
Sensor: humidity | fields: reading, unit, depth, type
Task: Retrieve value from uv_index whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083988 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, ts, lat, value
Sensor: dew_point | fields: lat, reading, qc, unit
Task: Fetch lon from soil_moisture where reading is greater than the maximum of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083989 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, value, reading, depth
Sensor: visibility | fields: lon, unit, level, value
Task: Retrieve level from uv_index with reading above the COUNT(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083990 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: reading, qc, lat, unit
Sensor: frost | fields: type, lon, depth, qc
Task: Retrieve lat from uv_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083991 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, qc, type, unit
Sensor: lightning | fields: lat, lon, depth, unit
Task: Retrieve depth from cloud_cover whose type is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083992 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, value, reading, ts
Sensor: humidity | fields: reading, type, level, ts
Task: Get level from frost where type appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083993 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lon, ts, unit, level
Sensor: humidity | fields: lon, value, level, depth
Task: Get lon from turbidity where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083994 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: type, level, lat, value
Sensor: soil_moisture | fields: ts, depth, level, reading
Task: Retrieve level from frost with value above the MIN(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083995 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, ts, lon, depth
Sensor: visibility | fields: lon, value, level, lat
Task: Fetch lon from rainfall where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083996 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, ts, lat, unit
Sensor: cloud_cover | fields: type, level, ts, reading
Task: Retrieve lon from temperature that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083997 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, qc, lon, level
Sensor: dew_point | fields: ts, reading, value, depth
Task: Fetch lat from air_quality where qc exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083998 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, unit, lon, reading
Sensor: wind_speed | fields: ts, depth, type, unit
Task: Retrieve value from drought_index with depth above the SUM(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.