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: air_quality | code: clr | fields: unit, reading, lon, depth
Sensor: evaporation | fields: ts, level, lat, qc
Task: Fetch reading from air_quality where reading is greater than the average of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003000 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, ts, reading, level
Sensor: rainfall | fields: qc, reading, level, ts
Task: Retrieve level from drought_index that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003001 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, reading, lat, type
Sensor: air_quality | fields: depth, lat, qc, lon
Task: Get level from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003002 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, lat, qc, reading
Sensor: soil_moisture | fields: level, lat, depth, reading
Task: Retrieve lon from evaporation with value above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003003 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, type, depth, level
Sensor: visibility | fields: unit, level, type, value
Task: Retrieve level from dew_point that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003004 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: reading, unit, qc, ts
Sensor: frost | fields: level, unit, qc, ts
Task: Fetch lat from visibility where value is greater than the count of of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003005 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, qc, value, lat
Sensor: cloud_cover | fields: depth, ts, unit, qc
Task: Fetch reading from snow_depth where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003006 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, unit, reading
Sensor: air_quality | fields: value, qc, unit, depth
Task: Get reading from snow_depth where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003007 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, value, lon, type
Sensor: visibility | fields: reading, lon, level, qc
Task: Retrieve depth from drought_index with value above the AVG(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003008 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, reading, qc, type
Sensor: temperature | fields: value, ts, qc, unit
Task: Retrieve value from frost that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003009 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: level, reading, qc, value
Sensor: sunlight | fields: qc, value, type, unit
Task: Get lat from pressure where value exceeds the maximum reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003010 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, unit, lat, level
Sensor: pressure | fields: lon, level, ts, unit
Task: Fetch value from frost where value is greater than the minimum of value in pressure for matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003011 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, value, unit, depth
Sensor: turbidity | fields: ts, lon, level, qc
Task: Fetch lon from rainfall where depth exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003012 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, qc, depth, type
Sensor: frost | fields: ts, level, depth, reading
Task: Fetch reading from turbidity that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003013 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, ts, value, reading
Sensor: evaporation | fields: unit, qc, ts, level
Task: Retrieve level from dew_point whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003014 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, level, lon, depth
Sensor: evaporation | fields: type, value, level, lat
Task: Fetch depth from cloud_cover where value is greater than the minimum of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003015 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, depth, lat, ts
Sensor: frost | fields: type, qc, lon, ts
Task: Get reading from snow_depth where ts appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003016 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, unit, lat, reading
Sensor: evaporation | fields: qc, ts, lon, unit
Task: Retrieve lon from turbidity that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003017 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, level, qc, lon
Sensor: snow_depth | fields: unit, lon, lat, reading
Task: Fetch lat from temperature where depth is greater than the total of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003018 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lon, qc, unit, ts
Sensor: turbidity | fields: qc, level, reading, depth
Task: Fetch lat from pressure that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003019 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, level, lon, unit
Sensor: uv_index | fields: type, reading, value, lat
Task: Retrieve reading from soil_moisture that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003020 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, lat, reading, value
Sensor: sunlight | fields: reading, level, value, lat
Task: Retrieve lon from visibility with value above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003021 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: unit, lat, value, depth
Sensor: lightning | fields: qc, type, lon, lat
Task: Fetch value from turbidity where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003022 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, lat, qc, depth
Sensor: drought_index | fields: lat, ts, lon, type
Task: Retrieve reading from air_quality with reading above the COUNT(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003023 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lat, depth, value, reading
Sensor: pressure | fields: qc, unit, level, type
Task: Retrieve lat from turbidity with depth above the MIN(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003024 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, type, level, value
Sensor: drought_index | fields: lat, value, unit, qc
Task: Retrieve lat from cloud_cover that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003025 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, type, lon, lat
Sensor: snow_depth | fields: type, lon, depth, value
Task: Fetch level from humidity where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003026 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: value, lon, unit, level
Sensor: soil_moisture | fields: lon, depth, reading, level
Task: Get depth from wind_speed where reading exceeds the maximum reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003027 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, lat, level, depth
Sensor: snow_depth | fields: value, unit, qc, level
Task: Retrieve lat from dew_point whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003028 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, level, depth, lat
Sensor: uv_index | fields: unit, depth, level, value
Task: Fetch lon from soil_moisture where value is greater than the maximum of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003029 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, lat, level, lon
Sensor: frost | fields: lon, qc, value, ts
Task: Fetch lat from lightning where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003030 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, type, value, lat
Sensor: uv_index | fields: ts, level, qc, lat
Task: Fetch lat from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003031 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: type, ts, lon, lat
Sensor: evaporation | fields: depth, lat, level, value
Task: Retrieve reading from drought_index with reading above the MAX(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003032 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, qc, type, value
Sensor: pressure | fields: depth, ts, type, value
Task: Fetch reading from soil_moisture where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003033 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, ts, value, qc
Sensor: turbidity | fields: type, ts, lon, qc
Task: Retrieve lat from wind_speed that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003034 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, ts, type
Sensor: soil_moisture | fields: unit, value, qc, reading
Task: Fetch depth from humidity where depth is greater than the count of of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003035 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, unit, lat, level
Sensor: temperature | fields: type, reading, ts, qc
Task: Fetch reading from sunlight that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003036 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, lat, qc, type
Sensor: uv_index | fields: lat, depth, ts, value
Task: Fetch reading from wind_speed where depth is greater than the average of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003037 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lat, value, lon
Sensor: humidity | fields: level, lat, unit, depth
Task: Fetch level from evaporation where reading is greater than the minimum of value in humidity for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003038 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: ts, depth, lat, value
Sensor: humidity | fields: type, qc, lat, unit
Task: Get lon from lightning where value exceeds the maximum value from humidity for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003039 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, level, depth, value
Sensor: pressure | fields: qc, unit, lon, level
Task: Fetch lon from air_quality that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003040 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: value, qc, ts, type
Sensor: sunlight | fields: value, qc, type, level
Task: Retrieve lat from wind_speed whose unit is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003041 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, reading, lon, ts
Sensor: soil_moisture | fields: ts, type, depth, unit
Task: Fetch value from temperature that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003042 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, type, ts, value
Sensor: drought_index | fields: unit, value, lon, ts
Task: Fetch level from pressure that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"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_003043 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, level, type, value
Sensor: temperature | fields: unit, qc, value, ts
Task: Fetch value from soil_moisture where reading is greater than the count of of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003044 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, level, qc, type
Sensor: rainfall | fields: ts, lon, value, depth
Task: Get lat from frost where depth exceeds the total depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003045 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, qc, lat, ts
Sensor: visibility | fields: lon, unit, qc, ts
Task: Retrieve level from dew_point that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003046 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, type, value, level
Sensor: dew_point | fields: qc, lat, type, reading
Task: Retrieve value from frost whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003047 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, qc, lon, type
Sensor: frost | fields: lat, level, value, qc
Task: Fetch lat from lightning where depth is greater than the minimum of value in frost for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003048 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lon, lat, depth, reading
Sensor: sunlight | fields: lon, unit, type, lat
Task: Fetch reading from air_quality where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003049 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, reading, level, lon
Sensor: drought_index | fields: depth, reading, lon, value
Task: Fetch lat from pressure that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003050 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, lon, reading, depth
Sensor: humidity | fields: qc, lat, value, depth
Task: Fetch value from rainfall where type exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003051 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: type, lat, depth, qc
Sensor: dew_point | fields: value, qc, lat, ts
Task: Get lat from humidity where depth exceeds the total depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003052 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: reading, unit, type, level
Sensor: air_quality | fields: level, depth, qc, lon
Task: Retrieve level from frost that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003053 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, reading, lon, lat
Sensor: frost | fields: unit, lat, level, ts
Task: Retrieve lon from uv_index that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003054 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, type, unit, lon
Sensor: frost | fields: level, lat, qc, value
Task: Fetch level from lightning where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003055 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lat, lon, qc, value
Sensor: cloud_cover | fields: lon, type, unit, qc
Task: Retrieve value from rainfall whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003056 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, ts, reading, value
Sensor: uv_index | fields: value, depth, qc, level
Task: Retrieve reading from rainfall that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003057 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: depth, lat, type, level
Sensor: uv_index | fields: depth, unit, value, type
Task: Fetch level from rainfall that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003058 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, lon, qc, lat
Sensor: air_quality | fields: value, ts, qc, lat
Task: Retrieve lat from lightning that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003059 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: unit, reading, lat, ts
Sensor: soil_moisture | fields: value, depth, ts, level
Task: Fetch reading from visibility where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003060 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: value, reading, ts, qc
Sensor: dew_point | fields: level, lon, reading, depth
Task: Retrieve value from visibility that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003061 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: level, qc, lon, reading
Sensor: turbidity | fields: reading, lat, lon, ts
Task: Get lon from humidity where depth exceeds the maximum depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003062 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, depth, ts, type
Sensor: temperature | fields: level, value, unit, qc
Task: Get lon from cloud_cover where ts appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003063 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: value, reading, depth, qc
Sensor: temperature | fields: level, ts, qc, unit
Task: Retrieve depth from rainfall whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003064 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, unit, type, value
Sensor: dew_point | fields: level, type, unit, lon
Task: Get reading from wind_speed where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003065 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: qc, value, unit, lat
Sensor: pressure | fields: lon, ts, value, unit
Task: Fetch level from turbidity where value is greater than the total of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003066 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, reading, qc, ts
Sensor: air_quality | fields: depth, qc, value, lon
Task: Get depth from drought_index where value exceeds the total depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003067 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, qc, lat, lon
Sensor: air_quality | fields: value, lon, qc, unit
Task: Get reading from dew_point where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003068 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, lat, value, reading
Sensor: drought_index | fields: lon, depth, lat, level
Task: Retrieve level from dew_point with reading above the COUNT(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003069 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, qc, depth, unit
Sensor: dew_point | fields: unit, type, level, value
Task: Fetch lon from soil_moisture that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003070 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lat, value, lon, ts
Sensor: frost | fields: ts, unit, reading, level
Task: Get lat from evaporation where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003071 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, type, value, unit
Sensor: uv_index | fields: value, reading, depth, lat
Task: Fetch value from snow_depth that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003072 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, unit, depth, lon
Sensor: rainfall | fields: lon, reading, level, unit
Task: Get lat from snow_depth where value exceeds the count of reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003073 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, qc, ts, depth
Sensor: visibility | fields: reading, qc, type, depth
Task: Retrieve level from air_quality whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003074 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, type, qc, depth
Sensor: frost | fields: value, qc, depth, reading
Task: Retrieve depth from soil_moisture whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003075 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lon, type, reading, ts
Sensor: sunlight | fields: depth, ts, unit, qc
Task: Retrieve level from temperature whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003076 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, lat, value, level
Sensor: rainfall | fields: level, depth, lat, value
Task: Fetch value from dew_point that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003077 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lat, value, ts
Sensor: rainfall | fields: unit, type, reading, lat
Task: Get lon from wind_speed where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003078 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: level, unit, lon, reading
Sensor: evaporation | fields: qc, ts, value, type
Task: Retrieve value from drought_index whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003079 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: type, reading, ts, qc
Sensor: turbidity | fields: ts, qc, reading, lon
Task: Retrieve value from wind_speed whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003080 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, lon, qc, level
Sensor: temperature | fields: ts, value, lon, depth
Task: Get reading from snow_depth where unit appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003081 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: level, value, lon, unit
Sensor: snow_depth | fields: ts, value, type, lat
Task: Fetch lat from rainfall where value is greater than the minimum of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"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_003082 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lon, qc, lat, depth
Sensor: soil_moisture | fields: unit, reading, lat, type
Task: Retrieve value from dew_point whose depth is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003083 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, value, depth, type
Sensor: snow_depth | fields: qc, level, reading, depth
Task: Retrieve depth from drought_index whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003084 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, ts, unit, level
Sensor: wind_speed | fields: level, ts, unit, reading
Task: Get reading from pressure where reading exceeds the average value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003085 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, unit, lat, type
Sensor: evaporation | fields: level, lon, unit, lat
Task: Get depth from dew_point where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003086 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: value, ts, qc, unit
Sensor: dew_point | fields: reading, level, unit, qc
Task: Fetch reading from sunlight where reading is greater than the maximum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003087 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, value, depth, lon
Sensor: uv_index | fields: value, qc, lat, depth
Task: Get lat from evaporation where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003088 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, depth, qc, lon
Sensor: frost | fields: level, ts, depth, lon
Task: Get reading from uv_index where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003089 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: qc, lat, value, lon
Sensor: sunlight | fields: lat, depth, value, unit
Task: Get level from visibility where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003090 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, lat, qc, type
Sensor: wind_speed | fields: depth, type, value, lat
Task: Retrieve lon from turbidity with depth above the MAX(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003091 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: ts, type, level, value
Sensor: uv_index | fields: lon, depth, lat, unit
Task: Retrieve depth from frost whose qc is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003092 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: qc, depth, type, value
Sensor: soil_moisture | fields: qc, value, type, lat
Task: Fetch value from lightning that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003093 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: type, value, level, ts
Sensor: cloud_cover | fields: lon, qc, type, unit
Task: Fetch depth from visibility where type exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003094 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, reading, ts, level
Sensor: air_quality | fields: value, type, level, unit
Task: Retrieve level from pressure whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003095 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, unit, reading, level
Sensor: humidity | fields: lon, ts, qc, reading
Task: Fetch lat from sunlight where value is greater than the count of of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003096 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, qc, ts, type
Sensor: sunlight | fields: lat, ts, depth, qc
Task: Retrieve lat from rainfall with value above the MAX(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003097 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: ts, qc, level, lat
Sensor: turbidity | fields: ts, qc, reading, value
Task: Get level from drought_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003098 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: unit, lat, qc, ts
Sensor: soil_moisture | fields: level, qc, ts, type
Task: Fetch value from air_quality where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.