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: snow_depth | code: mst | fields: qc, lat, reading, value
Sensor: air_quality | fields: lat, depth, type, unit
Task: Retrieve lat from snow_depth with depth above the COUNT(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"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_080000 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, unit, depth, qc
Sensor: visibility | fields: qc, lon, lat, ts
Task: Fetch lat from temperature where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080001 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, depth, value, qc
Sensor: sunlight | fields: qc, unit, value, lon
Task: Fetch lat from soil_moisture where depth is greater than the maximum of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080002 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, depth, unit, type
Sensor: visibility | fields: lon, type, lat, level
Task: Get reading from dew_point where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080003 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: ts, value, reading, qc
Sensor: uv_index | fields: lat, ts, lon, value
Task: Retrieve level from frost whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080004 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, ts, value
Sensor: air_quality | fields: ts, unit, level, qc
Task: Get level from evaporation where reading exceeds the maximum value from air_quality for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080005 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, lon, value, ts
Sensor: dew_point | fields: depth, level, type, lat
Task: Fetch value from turbidity where depth is greater than the average of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080006 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, depth, lat, qc
Sensor: visibility | fields: level, ts, lon, reading
Task: Fetch lon from humidity where value is greater than the total of depth in visibility for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080007 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, qc, lon, level
Sensor: drought_index | fields: type, reading, value, lat
Task: Get depth from soil_moisture where value exceeds the average depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080008 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, ts, level, lon
Sensor: sunlight | fields: value, lat, qc, unit
Task: Fetch depth from wind_speed that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080009 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, reading, depth, value
Sensor: uv_index | fields: lat, depth, ts, type
Task: Retrieve reading from air_quality that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080010 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, level, unit, lat
Sensor: air_quality | fields: value, unit, ts, qc
Task: Get lon from snow_depth where value exceeds the minimum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080011 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, depth, reading, type
Sensor: dew_point | fields: lat, qc, ts, unit
Task: Get lon from evaporation where reading exceeds the maximum reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080012 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, qc, depth, lat
Sensor: pressure | fields: unit, depth, lon, qc
Task: Fetch lon from rainfall that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080013 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, level, type, value
Sensor: temperature | fields: level, type, lon, value
Task: Retrieve depth from soil_moisture whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080014 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: depth, reading, lon, lat
Sensor: humidity | fields: qc, ts, value, reading
Task: Fetch depth from frost where value is greater than the total of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080015 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, reading, value, lat
Sensor: rainfall | fields: lon, ts, level, depth
Task: Get level from visibility where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080016 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, type, level, lat
Sensor: snow_depth | fields: level, lon, type, qc
Task: Fetch level from evaporation where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080017 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, lat, qc, value
Sensor: sunlight | fields: qc, value, reading, type
Task: Get lat from air_quality where qc appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080018 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: type, unit, qc, reading
Sensor: lightning | fields: type, qc, ts, reading
Task: Fetch reading from visibility where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080019 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, level, type, lat
Sensor: turbidity | fields: depth, lon, lat, value
Task: Get value from evaporation where depth exceeds the count of reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080020 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, value, reading, unit
Sensor: evaporation | fields: value, depth, lat, unit
Task: Fetch level from wind_speed that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080021 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, reading, unit, qc
Sensor: frost | fields: value, lat, type, lon
Task: Fetch lat from evaporation that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080022 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, depth, reading, unit
Sensor: turbidity | fields: lon, ts, level, lat
Task: Retrieve value from evaporation whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080023 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, reading, level, ts
Sensor: visibility | fields: qc, reading, lon, depth
Task: Fetch reading from rainfall where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080024 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, reading, type, lat
Sensor: wind_speed | fields: value, depth, qc, unit
Task: Retrieve level from soil_moisture that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080025 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: value, ts, type, lat
Sensor: temperature | fields: reading, ts, qc, lat
Task: Fetch lon from lightning that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080026 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, level, value, type
Sensor: visibility | fields: lon, lat, reading, qc
Task: Get depth from wind_speed where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080027 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, qc, value
Sensor: wind_speed | fields: unit, ts, type, lon
Task: Fetch depth from snow_depth that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080028 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, ts, qc, level
Sensor: drought_index | fields: ts, type, value, lon
Task: Get depth from dew_point where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080029 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, lat, depth, type
Sensor: wind_speed | fields: depth, value, type, level
Task: Get lat from sunlight where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080030 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: reading, lat, lon, type
Sensor: uv_index | fields: value, unit, lat, ts
Task: Get reading from lightning where depth exceeds the average reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080031 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, unit, level, reading
Sensor: sunlight | fields: level, unit, reading, type
Task: Retrieve reading from snow_depth whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080032 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lon, value, reading, unit
Sensor: evaporation | fields: lat, level, value, lon
Task: Fetch level from sunlight that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080033 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, depth, reading, lat
Sensor: wind_speed | fields: depth, reading, lon, unit
Task: Get lat from rainfall where ts appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080034 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, depth, qc, value
Sensor: evaporation | fields: type, value, lon, reading
Task: Fetch reading from air_quality where ts exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080035 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, unit, value, depth
Sensor: visibility | fields: reading, depth, value, qc
Task: Fetch lat from wind_speed that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080036 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, lat, reading, lon
Sensor: rainfall | fields: level, reading, qc, lat
Task: Get lat from pressure where depth exceeds the average value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080037 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, qc, unit, level
Sensor: uv_index | fields: lat, depth, lon, value
Task: Fetch reading from rainfall where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080038 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, qc, level, depth
Sensor: drought_index | fields: lon, value, reading, type
Task: Retrieve depth from humidity that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080039 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: qc, level, depth, type
Sensor: turbidity | fields: lat, depth, lon, ts
Task: Fetch depth from lightning where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080040 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, type, qc, ts
Sensor: humidity | fields: lon, qc, level, unit
Task: Retrieve lat from lightning with value above the MAX(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080041 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, reading, unit, level
Sensor: visibility | fields: unit, depth, ts, level
Task: Get depth from air_quality where value exceeds the average value from visibility for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080042 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: value, type, qc, depth
Sensor: soil_moisture | fields: unit, level, reading, lat
Task: Get level from evaporation where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080043 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: reading, lat, lon, unit
Sensor: soil_moisture | fields: reading, depth, lon, lat
Task: Retrieve reading from drought_index that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080044 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, lon, unit, depth
Sensor: temperature | fields: qc, reading, value, unit
Task: Fetch depth from wind_speed that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080045 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, ts, level, depth
Sensor: turbidity | fields: lat, unit, lon, level
Task: Retrieve lat from drought_index whose type is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080046 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, unit, qc, ts
Sensor: rainfall | fields: lat, lon, unit, qc
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="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080047 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, type, depth, reading
Sensor: humidity | fields: type, qc, lat, depth
Task: Get reading from air_quality where unit appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080048 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, qc, level, unit
Sensor: evaporation | fields: qc, lon, type, lat
Task: Retrieve reading from frost whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080049 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, value, lon, depth
Sensor: snow_depth | fields: lon, lat, level, reading
Task: Get depth from pressure where value exceeds the average depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080050 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, depth, unit, value
Sensor: cloud_cover | fields: qc, level, lat, depth
Task: Get lon from evaporation where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080051 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, level, ts, lon
Sensor: visibility | fields: value, level, ts, unit
Task: Fetch lon from wind_speed where value is greater than the total of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080052 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, lat, level, reading
Sensor: frost | fields: reading, ts, level, value
Task: Get reading from uv_index where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080053 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lon, reading, value, qc
Sensor: cloud_cover | fields: reading, lon, value, unit
Task: Fetch depth from rainfall that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080054 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: level, unit, ts, value
Sensor: uv_index | fields: value, type, qc, level
Task: Get reading from lightning where reading exceeds the total depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080055 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, qc, depth, reading
Sensor: drought_index | fields: type, depth, level, ts
Task: Get lon from wind_speed where depth exceeds the count of value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080056 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lon, qc, type, ts
Sensor: uv_index | fields: lat, type, unit, reading
Task: Retrieve depth from humidity that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080057 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lon, unit, value, ts
Sensor: frost | fields: lat, reading, unit, lon
Task: Get lat from drought_index where depth exceeds the average reading from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080058 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, ts, reading, type
Sensor: pressure | fields: qc, depth, lat, type
Task: Fetch value from frost where qc exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080059 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, lat, type, level
Sensor: pressure | fields: lat, type, level, reading
Task: Retrieve lon from lightning that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080060 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, type, level, ts
Sensor: turbidity | fields: ts, lon, unit, lat
Task: Retrieve value from soil_moisture that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080061 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, lat, reading, ts
Sensor: wind_speed | fields: unit, lat, qc, reading
Task: Get reading from rainfall where value exceeds the count of value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080062 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, value, type, unit
Sensor: rainfall | fields: unit, type, depth, lat
Task: Retrieve reading from wind_speed with depth above the AVG(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080063 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, type, qc, level
Sensor: pressure | fields: type, depth, value, level
Task: Retrieve lon from air_quality that have at least one matching reading in pressure sharing 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_080064 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, level, unit, reading
Sensor: drought_index | fields: ts, qc, value, lat
Task: Fetch depth from cloud_cover that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080065 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, type, depth, value
Sensor: uv_index | fields: unit, value, lon, level
Task: Fetch value from temperature where type exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080066 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: type, ts, lat, value
Sensor: evaporation | fields: lat, ts, type, lon
Task: Fetch level from rainfall where depth is greater than the maximum of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080067 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lat, type, lon
Sensor: air_quality | fields: ts, qc, type, value
Task: Retrieve depth from evaporation with reading above the MIN(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080068 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: level, lon, ts, unit
Sensor: visibility | fields: ts, qc, unit, lat
Task: Get level from rainfall where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080069 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, lon, unit, lat
Sensor: pressure | fields: reading, ts, qc, value
Task: Fetch depth from soil_moisture where depth is greater than the total of value in pressure for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080070 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: depth, lat, qc, unit
Sensor: cloud_cover | fields: lat, unit, level, type
Task: Fetch value from lightning that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080071 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, type, depth, unit
Sensor: soil_moisture | fields: lat, reading, lon, depth
Task: Fetch value from drought_index that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080072 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, lat, type, reading
Sensor: soil_moisture | fields: reading, qc, value, type
Task: Retrieve level from rainfall with reading above the MAX(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080073 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: level, value, reading, ts
Sensor: temperature | fields: lon, lat, reading, ts
Task: Get level from turbidity where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080074 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, value, type, ts
Sensor: temperature | fields: lat, level, lon, ts
Task: Get depth from wind_speed where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080075 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lon, level, type, ts
Sensor: humidity | fields: lat, depth, lon, type
Task: Get value from rainfall where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080076 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, lat, qc, ts
Sensor: uv_index | fields: value, qc, lat, depth
Task: Get value from frost where value exceeds the minimum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080077 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, ts, depth, unit
Sensor: cloud_cover | fields: qc, unit, level, reading
Task: Get value from turbidity where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080078 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, reading, level, ts
Sensor: temperature | fields: unit, level, type, qc
Task: Get depth from visibility where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080079 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lat, depth, unit, qc
Sensor: evaporation | fields: value, reading, depth, level
Task: Fetch level from lightning that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080080 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, type, lat, level
Sensor: humidity | fields: level, type, value, qc
Task: Get lat from frost where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080081 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, lon, ts, value
Sensor: uv_index | fields: reading, qc, depth, unit
Task: Get level from air_quality where reading exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080082 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, qc, lat, lon
Sensor: wind_speed | fields: unit, lat, value, lon
Task: Retrieve value from dew_point whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080083 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, ts, qc, lon
Sensor: temperature | fields: ts, unit, type, qc
Task: Retrieve lon from uv_index whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080084 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, level, reading, type
Sensor: evaporation | fields: level, value, lat, depth
Task: Fetch value from humidity where value is greater than the maximum of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080085 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: reading, depth, lon, qc
Sensor: snow_depth | fields: reading, lon, lat, qc
Task: Retrieve depth from pressure that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080086 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: level, lat, unit, qc
Sensor: frost | fields: lon, lat, ts, type
Task: Retrieve value from rainfall whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080087 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: type, lon, reading, ts
Sensor: dew_point | fields: unit, value, lon, qc
Task: Get lon from air_quality where qc appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080088 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: level, ts, unit, type
Sensor: frost | fields: lon, depth, type, qc
Task: Fetch depth from uv_index where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080089 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, reading, lat, unit
Sensor: frost | fields: depth, type, lat, lon
Task: Get lat from snow_depth where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080090 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, qc, level, lat
Sensor: visibility | fields: lat, type, reading, lon
Task: Fetch lat from wind_speed that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080091 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, type, lon, unit
Sensor: air_quality | fields: lat, type, level, value
Task: Fetch lon from sunlight that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080092 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: type, level, reading, lat
Sensor: snow_depth | fields: ts, value, qc, unit
Task: Retrieve lat from temperature with depth above the COUNT(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080093 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, qc, depth, level
Sensor: rainfall | fields: unit, lat, level, depth
Task: Fetch depth from pressure that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080094 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, value, level, ts
Sensor: drought_index | fields: ts, qc, depth, level
Task: Get level from soil_moisture where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080095 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, depth, ts, level
Sensor: rainfall | fields: depth, qc, type, lon
Task: Fetch level from temperature where reading is greater than the maximum of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080096 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, qc, value, depth
Sensor: humidity | fields: qc, lon, ts, lat
Task: Fetch level from lightning where reading is greater than the total of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080097 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: depth, qc, ts, lat
Sensor: sunlight | fields: level, unit, lon, lat
Task: Fetch reading from lightning that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080098 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, unit, depth, ts
Sensor: frost | fields: type, ts, level, reading
Task: Fetch reading from wind_speed that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.