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: snow_depth | code: prt | fields: reading, value, level, ts
Sensor: uv_index | fields: lat, reading, lon, depth
Task: Retrieve value from snow_depth whose depth is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034000 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, ts, reading, type
Sensor: air_quality | fields: ts, type, depth, qc
Task: Retrieve level from uv_index whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034001 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lat, level, qc, depth
Sensor: frost | fields: unit, level, value, type
Task: Fetch reading from dew_point where depth exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034002 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, qc, type, unit
Sensor: pressure | fields: ts, value, unit, depth
Task: Get depth from rainfall where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034003 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, qc, reading, level
Sensor: soil_moisture | fields: qc, lon, lat, unit
Task: Retrieve lat from visibility that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034004 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: reading, value, qc, lat
Sensor: sunlight | fields: level, ts, depth, lon
Task: Fetch lat from turbidity where qc exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034005 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, reading, unit, lon
Sensor: dew_point | fields: ts, qc, lat, type
Task: Fetch lat from pressure where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034006 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, lon, reading, qc
Sensor: evaporation | fields: qc, lat, unit, reading
Task: Get lon from drought_index where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034007 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: ts, value, depth, type
Sensor: visibility | fields: lat, reading, level, lon
Task: Get value from evaporation where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034008 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, value, ts, level
Sensor: snow_depth | fields: lon, type, lat, level
Task: Get reading from humidity where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034009 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lat, value, lon
Sensor: drought_index | fields: level, value, lat, unit
Task: Fetch value from uv_index where ts exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034010 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, value, unit
Sensor: frost | fields: ts, depth, reading, value
Task: Retrieve depth from air_quality whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034011 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: depth, unit, qc, level
Sensor: temperature | fields: value, depth, qc, ts
Task: Get reading from frost where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034012 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, level, lon, ts
Sensor: air_quality | fields: qc, depth, type, level
Task: Retrieve lat from uv_index that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034013 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, qc, level, depth
Sensor: snow_depth | fields: value, ts, level, unit
Task: Get lat from cloud_cover where value exceeds the minimum reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"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_034014 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lat, lon, unit, depth
Sensor: temperature | fields: type, qc, lat, unit
Task: Get level from pressure where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034015 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, ts, lat, level
Sensor: evaporation | fields: unit, lat, lon, reading
Task: Fetch lat from turbidity where depth is greater than the total of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034016 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, ts, level, value
Sensor: turbidity | fields: value, qc, type, level
Task: Get lat from snow_depth where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034017 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, lon, reading, depth
Sensor: wind_speed | fields: lat, depth, reading, lon
Task: Get value from visibility where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034018 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, qc, type, value
Sensor: uv_index | fields: unit, value, level, lon
Task: Fetch reading from turbidity where value is greater than the average of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034019 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, ts, qc
Sensor: dew_point | fields: unit, lat, value, level
Task: Retrieve lon from sunlight whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034020 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, qc, value, lat
Sensor: soil_moisture | fields: ts, type, value, lon
Task: Get lon from frost where value exceeds the minimum value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034021 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, depth, ts
Sensor: lightning | fields: value, ts, qc, level
Task: Retrieve lon from rainfall whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034022 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, unit, lat, type
Sensor: soil_moisture | fields: type, level, value, ts
Task: Get value from wind_speed where reading exceeds the total depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034023 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: reading, value, unit, qc
Sensor: uv_index | fields: lon, qc, lat, depth
Task: Get reading from sunlight where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034024 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, level, type, qc
Sensor: frost | fields: lon, level, depth, reading
Task: Get lat from air_quality where reading exceeds the average value from frost for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034025 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, type, lat, reading
Sensor: snow_depth | fields: lon, depth, unit, lat
Task: Get lat from temperature where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034026 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: value, level, lat, type
Sensor: air_quality | fields: reading, value, type, ts
Task: Get value from dew_point where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034027 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, value, qc, depth
Sensor: turbidity | fields: ts, level, lon, type
Task: Retrieve level from pressure with value above the MAX(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"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_034028 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: reading, lat, depth, level
Sensor: soil_moisture | fields: unit, lon, ts, qc
Task: Fetch lat from temperature where depth is greater than the average of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034029 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, lat, qc, type
Sensor: lightning | fields: depth, type, unit, reading
Task: Get value from visibility where value exceeds the minimum depth from lightning for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034030 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, ts, qc, lat
Sensor: pressure | fields: value, type, depth, lon
Task: Get depth from soil_moisture where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034031 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: qc, ts, level, value
Sensor: air_quality | fields: lon, level, value, type
Task: Fetch reading from frost that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034032 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, lat, value, depth
Sensor: wind_speed | fields: depth, reading, ts, level
Task: Get value from rainfall where unit appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034033 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, qc, lon, unit
Sensor: evaporation | fields: type, reading, depth, value
Task: Fetch lat from wind_speed that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"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_034034 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, qc, reading, lon
Sensor: wind_speed | fields: type, lon, level, qc
Task: Fetch depth from evaporation that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034035 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, lon, lat, reading
Sensor: soil_moisture | fields: lat, qc, value, level
Task: Fetch level from evaporation that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034036 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, reading, depth, lon
Sensor: air_quality | fields: lon, ts, level, type
Task: Fetch lon from lightning that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034037 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: ts, reading, depth, value
Sensor: pressure | fields: depth, unit, type, lat
Task: Get level from turbidity where depth exceeds the maximum reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034038 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, unit, ts, value
Sensor: turbidity | fields: lon, type, level, reading
Task: Get value from pressure where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034039 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: value, lon, depth, level
Sensor: drought_index | fields: type, unit, value, reading
Task: Retrieve lon from rainfall with depth above the COUNT(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034040 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, depth, lat, unit
Sensor: rainfall | fields: lat, value, qc, unit
Task: Fetch reading from uv_index where depth is greater than the average of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034041 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: level, qc, value, type
Sensor: sunlight | fields: depth, lat, qc, type
Task: Fetch reading from lightning where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034042 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, ts, reading, type
Sensor: air_quality | fields: reading, depth, level, value
Task: Get reading from snow_depth where value exceeds the count of reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034043 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: level, lat, type, ts
Sensor: lightning | fields: lat, value, type, unit
Task: Fetch level from humidity where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034044 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, lat, type
Sensor: dew_point | fields: type, value, qc, ts
Task: Retrieve reading from temperature whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034045 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, depth, unit, value
Sensor: wind_speed | fields: lat, depth, ts, level
Task: Retrieve level from drought_index with value above the AVG(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034046 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, lat, reading, level
Sensor: dew_point | fields: type, depth, unit, reading
Task: Retrieve depth from soil_moisture with value above the AVG(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034047 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, unit, type, level
Sensor: soil_moisture | fields: lat, unit, lon, reading
Task: Get lon from cloud_cover where reading exceeds the maximum value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034048 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, lon, lat, value
Sensor: pressure | fields: reading, value, unit, type
Task: Get value from temperature where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034049 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: level, type, unit, depth
Sensor: rainfall | fields: reading, unit, level, depth
Task: Fetch lat from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034050 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, level, depth
Sensor: snow_depth | fields: lat, value, reading, depth
Task: Get lon from sunlight where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034051 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, value, depth, ts
Sensor: dew_point | fields: lat, lon, value, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034052 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, lon, qc, depth
Sensor: drought_index | fields: depth, qc, lat, lon
Task: Fetch reading from cloud_cover where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034053 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: depth, type, lat, level
Sensor: snow_depth | fields: ts, unit, lat, lon
Task: Retrieve reading from sunlight whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034054 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: value, reading, unit, level
Sensor: drought_index | fields: level, value, qc, depth
Task: Fetch reading from snow_depth where depth exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034055 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: unit, level, lon, reading
Sensor: air_quality | fields: type, qc, reading, ts
Task: Retrieve level from turbidity whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034056 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: depth, unit, type, qc
Sensor: dew_point | fields: ts, reading, qc, depth
Task: Fetch lon from lightning where reading is greater than the count of of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034057 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: unit, value, lon, lat
Sensor: lightning | fields: depth, type, lon, level
Task: Retrieve level from evaporation whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034058 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, value, depth, lat
Sensor: evaporation | fields: lon, type, level, reading
Task: Retrieve level from cloud_cover that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034059 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, unit, qc, lat
Sensor: turbidity | fields: type, depth, qc, unit
Task: Retrieve lon from lightning with value above the COUNT(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034060 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: qc, depth, ts, lon
Sensor: turbidity | fields: lon, lat, level, unit
Task: Get value from dew_point where ts appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034061 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, lon, reading, value
Sensor: wind_speed | fields: unit, lat, depth, level
Task: Get lon from sunlight where value exceeds the average reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034062 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, reading, lat, qc
Sensor: cloud_cover | fields: unit, value, reading, lat
Task: Fetch lat from temperature that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034063 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, qc, lon, value
Sensor: air_quality | fields: value, depth, reading, qc
Task: Get lon from soil_moisture where depth exceeds the total value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034064 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, reading, value, lat
Sensor: sunlight | fields: level, depth, qc, lat
Task: Retrieve level from snow_depth whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034065 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lat, depth, ts, reading
Sensor: sunlight | fields: value, unit, depth, ts
Task: Retrieve depth from evaporation that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034066 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, reading, qc, depth
Sensor: turbidity | fields: qc, unit, level, lat
Task: Get lat from pressure where depth exceeds the count of reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034067 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: unit, lat, qc, lon
Sensor: evaporation | fields: ts, level, lat, reading
Task: Fetch level from humidity where depth is greater than the average of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034068 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, depth, reading, level
Sensor: uv_index | fields: level, qc, depth, lat
Task: Get reading from snow_depth where reading exceeds the minimum depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034069 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lon, unit, qc
Sensor: sunlight | fields: lat, type, lon, unit
Task: Get level from drought_index where type appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034070 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, value, lon, level
Sensor: turbidity | fields: value, level, reading, depth
Task: Get value from pressure where value exceeds the minimum depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034071 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, qc, lon
Sensor: air_quality | fields: lat, reading, value, depth
Task: Get value from cloud_cover where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034072 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, level, lat, lon
Sensor: cloud_cover | fields: level, value, lat, lon
Task: Retrieve lon from humidity with reading above the MAX(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034073 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, qc, lon, depth
Sensor: evaporation | fields: lat, lon, unit, qc
Task: Fetch lat from turbidity where reading is greater than the count of of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034074 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, level, unit, reading
Sensor: visibility | fields: qc, ts, lon, reading
Task: Retrieve lat from pressure with reading above the MAX(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034075 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, unit, value, depth
Sensor: rainfall | fields: level, depth, type, qc
Task: Get lat from pressure where reading exceeds the count of reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034076 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, depth, level, value
Sensor: wind_speed | fields: unit, value, ts, lon
Task: Fetch level from pressure where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034077 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, reading, value, type
Sensor: cloud_cover | fields: value, level, lat, type
Task: Fetch depth from rainfall where unit exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034078 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: ts, value, level, qc
Sensor: evaporation | fields: depth, lat, value, reading
Task: Retrieve reading from humidity with depth above the COUNT(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034079 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, value, lon, unit
Sensor: wind_speed | fields: qc, lat, depth, unit
Task: Retrieve depth from cloud_cover whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034080 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, lat, value, qc
Sensor: pressure | fields: lat, reading, depth, level
Task: Retrieve value from humidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034081 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, depth, unit
Sensor: air_quality | fields: reading, unit, lat, type
Task: Fetch lat from cloud_cover that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034082 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: type, lon, ts, unit
Sensor: lightning | fields: lon, value, ts, lat
Task: Retrieve value from uv_index that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034083 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: type, reading, lat, value
Sensor: humidity | fields: lat, qc, depth, ts
Task: Fetch reading from pressure that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034084 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, type, lon, depth
Sensor: snow_depth | fields: qc, depth, ts, lat
Task: Retrieve depth from drought_index that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034085 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, unit, ts, type
Sensor: evaporation | fields: unit, reading, type, lon
Task: Get level from humidity where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034086 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, lon, reading, ts
Sensor: turbidity | fields: type, depth, level, lat
Task: Get reading from frost where ts appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034087 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lon, qc, unit, lat
Sensor: cloud_cover | fields: lat, type, depth, ts
Task: Retrieve value from temperature that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034088 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, level, reading, value
Sensor: snow_depth | fields: type, unit, value, lat
Task: Fetch depth from rainfall that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034089 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, level, type, depth
Sensor: soil_moisture | fields: value, level, qc, depth
Task: Fetch lon from humidity where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034090 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, level, lat, lon
Sensor: frost | fields: ts, value, lat, depth
Task: Fetch lat from drought_index where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034091 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, level, qc, reading
Sensor: temperature | fields: value, unit, level, lon
Task: Retrieve lon from drought_index with value above the MAX(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034092 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, value, depth, ts
Sensor: sunlight | fields: lat, reading, ts, qc
Task: Fetch lat from uv_index where reading is greater than the maximum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034093 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, lat, value, level
Sensor: cloud_cover | fields: reading, level, type, lon
Task: Fetch level from snow_depth where value is greater than the minimum of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034094 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lat, reading, lon
Sensor: dew_point | fields: type, depth, lat, reading
Task: Retrieve value from evaporation with depth above the SUM(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034095 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, level, ts, lat
Sensor: rainfall | fields: lat, level, ts, depth
Task: Get reading from soil_moisture where reading exceeds the average reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034096 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: level, depth, lat, type
Sensor: frost | fields: value, type, lat, unit
Task: Retrieve lat from snow_depth that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034097 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: value, level, ts, reading
Sensor: rainfall | fields: ts, reading, unit, level
Task: Get level from sunlight where reading exceeds the average depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034098 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: reading, type, value, level
Sensor: sunlight | fields: level, unit, depth, type
Task: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.