variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, level, depth, type
Sensor: dew_point | fields: type, unit, lat, level
Task: Get value from uv_index where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009000 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, type, qc, value
Sensor: lightning | fields: depth, lat, value, lon
Task: Fetch level from rainfall that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009001 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: ts, lat, reading, value
Sensor: cloud_cover | fields: qc, lon, level, lat
Task: Get lat from dew_point where ts appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009002 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, lon, value, lat
Sensor: air_quality | fields: value, level, reading, depth
Task: Retrieve lat from sunlight that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009003 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, type, ts, lon
Sensor: wind_speed | fields: level, lat, value, type
Task: Get lat from cloud_cover where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009004 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: type, ts, lon, lat
Sensor: soil_moisture | fields: lat, unit, lon, qc
Task: Retrieve lat from sunlight whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009005 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, level, ts, depth
Sensor: rainfall | fields: ts, lat, lon, reading
Task: Retrieve reading from air_quality with value above the SUM(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009006 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, ts, depth, unit
Sensor: lightning | fields: reading, qc, ts, lon
Task: Fetch level from frost where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009007 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: type, level, lon, reading
Sensor: air_quality | fields: level, lon, type, unit
Task: Retrieve value from dew_point that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009008 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, qc, value, unit
Sensor: cloud_cover | fields: ts, lon, value, lat
Task: Get value from dew_point where depth exceeds the maximum depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009009 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: reading, level, unit, qc
Sensor: evaporation | fields: lat, ts, level, lon
Task: Fetch level from sunlight where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009010 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, level, value, depth
Sensor: evaporation | fields: lat, value, reading, level
Task: Get lon from soil_moisture where depth exceeds the minimum value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009011 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, level, value
Sensor: drought_index | fields: ts, type, lat, value
Task: Get lat from rainfall where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009012 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, reading, qc, level
Sensor: temperature | fields: lon, level, unit, ts
Task: Retrieve depth from soil_moisture that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009013 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: value, lat, lon, type
Sensor: evaporation | fields: qc, unit, type, reading
Task: Retrieve value from drought_index whose depth is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009014 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, type, unit, ts
Sensor: visibility | fields: ts, level, depth, lon
Task: Fetch lon from cloud_cover where unit exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009015 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, reading, lat, depth
Sensor: uv_index | fields: unit, type, lon, level
Task: Fetch value from soil_moisture where depth is greater than the total of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009016 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: type, depth, lat, qc
Sensor: dew_point | fields: reading, value, depth, level
Task: Retrieve lon from pressure whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009017 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, level, reading
Sensor: air_quality | fields: level, reading, type, qc
Task: Retrieve lon from drought_index that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009018 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, type, unit, lat
Sensor: temperature | fields: lon, ts, reading, type
Task: Retrieve depth from uv_index whose depth is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009019 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, ts, qc, lon
Sensor: uv_index | fields: level, lat, unit, value
Task: Fetch reading from humidity where reading is greater than the average of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009020 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, reading, lon, depth
Sensor: cloud_cover | fields: qc, value, level, unit
Task: Fetch depth from sunlight where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009021 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, depth, type, value
Sensor: turbidity | fields: lon, ts, depth, lat
Task: Retrieve lat from wind_speed whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009022 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, qc, unit, type
Sensor: drought_index | fields: value, reading, ts, qc
Task: Retrieve reading from humidity whose ts is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009023 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, unit, qc, ts
Sensor: temperature | fields: level, unit, qc, ts
Task: Retrieve depth from drought_index with depth above the SUM(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009024 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, qc, ts, lat
Sensor: dew_point | fields: type, level, lat, qc
Task: Get lon from soil_moisture where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009025 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: value, ts, lat, level
Sensor: cloud_cover | fields: depth, qc, unit, value
Task: Fetch depth from wind_speed that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009026 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lat, unit, qc
Sensor: snow_depth | fields: unit, value, lat, type
Task: Retrieve level from cloud_cover with value above the MIN(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009027 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, type, value, ts
Sensor: cloud_cover | fields: qc, value, reading, unit
Task: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009028 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, qc, value
Sensor: turbidity | fields: reading, value, lat, depth
Task: Get depth from wind_speed where ts appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009029 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, depth, type, level
Sensor: drought_index | fields: reading, lon, value, unit
Task: Retrieve value from soil_moisture whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009030 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, ts, qc, depth
Sensor: lightning | fields: value, level, lat, reading
Task: Retrieve level from humidity with value above the AVG(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009031 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: level, unit, ts, depth
Sensor: air_quality | fields: type, qc, lon, value
Task: Fetch depth from wind_speed that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009032 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, unit, lon, type
Sensor: rainfall | fields: lat, reading, unit, lon
Task: Get reading from humidity where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009033 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: type, unit, depth, level
Sensor: snow_depth | fields: type, lon, unit, qc
Task: Fetch depth from wind_speed where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009034 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, unit, level, depth
Sensor: uv_index | fields: reading, value, type, depth
Task: Get reading from turbidity where type appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009035 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, ts, reading, level
Sensor: temperature | fields: type, lon, unit, qc
Task: Fetch depth from visibility that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009036 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, level, depth, type
Sensor: evaporation | fields: level, type, qc, reading
Task: Retrieve lat from snow_depth that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009037 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: reading, unit, lat, value
Sensor: rainfall | fields: reading, lon, qc, level
Task: Retrieve value from sunlight with reading above the SUM(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009038 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, depth, ts, level
Sensor: dew_point | fields: level, ts, qc, reading
Task: Retrieve depth from visibility with reading above the AVG(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009039 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, level, depth, value
Sensor: frost | fields: type, qc, lon, value
Task: Fetch depth from turbidity where value is greater than the total of reading in frost for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009040 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: qc, level, reading, lat
Sensor: lightning | fields: type, ts, depth, reading
Task: Get depth from pressure where value exceeds the average reading from lightning for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009041 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, value, lat, type
Sensor: lightning | fields: value, level, type, qc
Task: Fetch level from pressure where value is greater than the total of value in lightning for matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009042 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, value, type, ts
Sensor: evaporation | fields: value, qc, lat, level
Task: Fetch depth from frost where reading is greater than the average of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009043 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: depth, unit, lon, level
Sensor: visibility | fields: lat, lon, level, ts
Task: Fetch depth from sunlight where value is greater than the maximum of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009044 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, unit, lat, depth
Sensor: snow_depth | fields: type, depth, level, ts
Task: Get reading from lightning where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009045 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, value, ts, level
Sensor: humidity | fields: ts, level, reading, depth
Task: Fetch lat from cloud_cover where depth is greater than the total of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009046 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, type, ts, lat
Sensor: dew_point | fields: level, unit, ts, lon
Task: Retrieve reading from rainfall with reading above the AVG(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009047 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, qc, depth, value
Sensor: visibility | fields: level, unit, value, qc
Task: Retrieve value from dew_point that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009048 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: type, reading, depth, lat
Sensor: air_quality | fields: unit, level, value, reading
Task: Get level from wind_speed where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009049 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, lon, level, qc
Sensor: air_quality | fields: unit, reading, lat, lon
Task: Retrieve lat from humidity that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009050 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: level, reading, unit, qc
Sensor: evaporation | fields: lon, type, level, value
Task: Retrieve depth from turbidity whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009051 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, value, level, ts
Sensor: soil_moisture | fields: lon, value, depth, ts
Task: Fetch depth from rainfall that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009052 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, level, lon, depth
Sensor: snow_depth | fields: level, qc, lat, lon
Task: Get depth from lightning where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009053 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, reading, depth, lon
Sensor: air_quality | fields: unit, reading, level, ts
Task: Retrieve level from cloud_cover that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009054 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, unit, level, value
Sensor: temperature | fields: value, unit, level, lon
Task: Retrieve value from soil_moisture with reading above the COUNT(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009055 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: unit, qc, level, lat
Sensor: cloud_cover | fields: unit, lon, level, type
Task: Get value from sunlight where reading exceeds the average value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009056 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: ts, type, qc, unit
Sensor: humidity | fields: lon, ts, level, lat
Task: Fetch level from temperature that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009057 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, qc, type, ts
Sensor: sunlight | fields: level, unit, lat, reading
Task: Retrieve value from lightning whose ts is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009058 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lat, type, level, value
Sensor: dew_point | fields: lat, value, qc, unit
Task: Get lon from temperature where depth exceeds the minimum reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009059 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lat, level, type
Sensor: air_quality | fields: depth, reading, lat, qc
Task: Retrieve lat from wind_speed that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009060 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, unit, qc, reading
Sensor: air_quality | fields: qc, lon, ts, level
Task: Get level from visibility where reading exceeds the average depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009061 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: level, qc, reading, lat
Sensor: wind_speed | fields: lon, ts, lat, level
Task: Retrieve level from drought_index with reading above the MIN(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009062 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, level, lon, qc
Sensor: pressure | fields: value, qc, ts, depth
Task: Retrieve lat from drought_index whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009063 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, unit, value, ts
Sensor: turbidity | fields: unit, qc, depth, ts
Task: Retrieve depth from snow_depth with value above the MIN(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009064 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: depth, unit, reading, type
Sensor: dew_point | fields: qc, lon, unit, reading
Task: Retrieve value from sunlight with depth above the MIN(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009065 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, qc, ts, lat
Sensor: uv_index | fields: level, lat, type, qc
Task: Retrieve lon from snow_depth that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009066 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, lon, value, unit
Sensor: evaporation | fields: type, lon, reading, level
Task: Get value from drought_index where depth exceeds the average value from evaporation for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009067 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, ts, type, level
Sensor: humidity | fields: lon, unit, depth, type
Task: Fetch value from temperature that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009068 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, lat, value, unit
Sensor: rainfall | fields: lat, unit, type, qc
Task: Retrieve reading from dew_point whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009069 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: unit, ts, lon, qc
Sensor: rainfall | fields: type, qc, lon, value
Task: Retrieve value from lightning whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009070 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, reading, depth, type
Sensor: lightning | fields: lat, reading, lon, depth
Task: Retrieve reading from cloud_cover with value above the SUM(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009071 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: value, depth, level, lon
Sensor: turbidity | fields: reading, value, ts, lat
Task: Fetch depth from evaporation that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009072 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, value, qc, lat
Sensor: air_quality | fields: qc, lon, lat, ts
Task: Fetch reading from drought_index where unit exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009073 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, lat, lon, level
Sensor: rainfall | fields: ts, value, qc, level
Task: Fetch lat from frost where value is greater than the maximum of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009074 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, level, qc, reading
Sensor: visibility | fields: lon, level, lat, reading
Task: Get level from cloud_cover where value exceeds the maximum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009075 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, level, lon, reading
Sensor: air_quality | fields: qc, lon, ts, lat
Task: Fetch lon from dew_point that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009076 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, type, unit, reading
Sensor: rainfall | fields: depth, qc, reading, level
Task: Get level from drought_index where unit appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009077 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, qc, lat, ts
Sensor: temperature | fields: reading, unit, depth, lon
Task: Fetch level from visibility where depth is greater than the average of depth in temperature for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009078 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, level, depth, type
Sensor: dew_point | fields: unit, lon, ts, level
Task: Fetch lat from cloud_cover that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009079 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, lon, type, depth
Sensor: soil_moisture | fields: reading, level, lat, lon
Task: Get depth from wind_speed where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009080 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lon, qc, lat
Sensor: air_quality | fields: qc, value, type, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009081 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: level, qc, lat, depth
Sensor: dew_point | fields: ts, depth, lat, type
Task: Fetch lon from humidity where reading is greater than the total of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009082 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, lon, level, qc
Sensor: dew_point | fields: type, value, lat, qc
Task: Retrieve lon from lightning with reading above the MIN(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009083 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: reading, level, lon, qc
Sensor: sunlight | fields: lon, type, level, unit
Task: Fetch lat from evaporation where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009084 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, unit, lon, ts
Sensor: humidity | fields: depth, value, type, reading
Task: Fetch value from frost where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009085 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lat, unit, level, type
Sensor: turbidity | fields: lat, level, depth, lon
Task: Retrieve depth from lightning that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009086 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: type, lat, qc, reading
Sensor: frost | fields: reading, qc, value, ts
Task: Get lat from evaporation where value exceeds the average depth from frost for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009087 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lat, unit, reading
Sensor: drought_index | fields: reading, depth, type, lon
Task: Retrieve lat from wind_speed that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009088 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: ts, lat, value, depth
Sensor: turbidity | fields: unit, value, level, ts
Task: Get depth from air_quality where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009089 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: unit, level, lat, value
Sensor: drought_index | fields: reading, value, level, ts
Task: Get depth from sunlight where qc appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009090 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, ts, value, unit
Sensor: visibility | fields: qc, value, depth, ts
Task: Get value from turbidity where value exceeds the minimum value from visibility for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009091 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, lon, depth, value
Sensor: rainfall | fields: level, type, value, depth
Task: Fetch reading from snow_depth where depth is greater than the maximum of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009092 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: type, level, reading, unit
Sensor: cloud_cover | fields: ts, lat, level, depth
Task: Get lon from wind_speed where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009093 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, lat, reading, depth
Sensor: humidity | fields: ts, lon, lat, type
Task: Retrieve depth from uv_index that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009094 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, depth, type, value
Sensor: snow_depth | fields: qc, depth, level, value
Task: Retrieve lon from dew_point that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009095 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, reading, lat, value
Sensor: sunlight | fields: depth, lon, unit, qc
Task: Retrieve level from wind_speed with depth above the COUNT(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009096 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, type, value, lon
Sensor: lightning | fields: reading, lat, value, depth
Task: Get reading from snow_depth where reading exceeds the average value from lightning for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009097 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: value, lon, lat, level
Sensor: uv_index | fields: unit, depth, ts, lon
Task: Retrieve lat from wind_speed that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009098 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, type, unit, level
Sensor: soil_moisture | fields: value, qc, unit, depth
Task: Fetch lat from pressure where reading is greater than the count of of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.