variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, value, unit, level
Sensor: uv_index | fields: ts, value, lon, depth
Task: Retrieve value from drought_index with value above the MIN(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073000 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, reading, level
Sensor: humidity | fields: unit, type, lon, ts
Task: Retrieve lon from rainfall with reading above the COUNT(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073001 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, lon, value, qc
Sensor: drought_index | fields: qc, value, lat, lon
Task: Get lon from temperature where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073002 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, lat, reading, depth
Sensor: evaporation | fields: ts, value, lat, qc
Task: Get lat from air_quality where value exceeds the maximum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073003 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, ts, reading, level
Sensor: wind_speed | fields: depth, value, lat, ts
Task: Fetch depth from visibility where value is greater than the average of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073004 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, depth, lon, reading
Sensor: soil_moisture | fields: type, reading, level, value
Task: Fetch lat from lightning that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073005 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, lat, unit, value
Sensor: cloud_cover | fields: unit, lat, type, level
Task: Fetch lat from humidity where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073006 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, level, unit, qc
Sensor: snow_depth | fields: reading, lon, qc, value
Task: Fetch level from soil_moisture where unit exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073007 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: ts, qc, unit, reading
Sensor: humidity | fields: unit, value, lat, ts
Task: Retrieve depth from air_quality with value above the SUM(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073008 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: depth, unit, level, value
Sensor: cloud_cover | fields: depth, lat, reading, value
Task: Retrieve level from lightning whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073009 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, value, level, lat
Sensor: temperature | fields: qc, reading, type, depth
Task: Retrieve reading from humidity whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073010 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, ts, lon, depth
Sensor: pressure | fields: value, lon, qc, level
Task: Fetch lon from air_quality where reading is greater than the count of of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073011 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, value, level, unit
Sensor: temperature | fields: qc, type, unit, level
Task: Fetch reading from snow_depth where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073012 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, value, type, qc
Sensor: visibility | fields: lon, reading, level, value
Task: Fetch reading from wind_speed that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073013 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, ts, depth, reading
Sensor: pressure | fields: qc, lat, depth, lon
Task: Get lat from wind_speed where depth exceeds the maximum value from pressure for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073014 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: type, reading, depth, level
Sensor: rainfall | fields: unit, lat, type, qc
Task: Retrieve depth from sunlight whose type is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073015 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, qc, type, lon
Sensor: evaporation | fields: lon, type, unit, level
Task: Get value from soil_moisture where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073016 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, depth, type, level
Sensor: evaporation | fields: reading, level, type, lat
Task: Fetch lat from cloud_cover that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073017 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, reading, ts, lat
Sensor: soil_moisture | fields: ts, depth, level, qc
Task: Get lon from cloud_cover where depth appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073018 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, type, lat, ts
Sensor: air_quality | fields: unit, qc, value, type
Task: Retrieve lat from frost whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073019 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lon, qc, ts, unit
Sensor: drought_index | fields: lat, type, unit, ts
Task: Fetch lon from evaporation where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073020 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, level, ts, type
Sensor: drought_index | fields: lon, level, unit, depth
Task: Retrieve reading from visibility whose ts is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"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_073021 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: qc, ts, reading, lon
Sensor: humidity | fields: depth, qc, lon, type
Task: Fetch reading from air_quality where depth exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073022 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, depth, qc, reading
Sensor: turbidity | fields: value, depth, reading, lat
Task: Get value from pressure where qc appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073023 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, level, type, lon
Sensor: lightning | fields: reading, qc, type, value
Task: Fetch reading from drought_index where value is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073024 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, type, depth, lat
Sensor: drought_index | fields: lon, type, unit, reading
Task: Retrieve reading from cloud_cover with reading above the AVG(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
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": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073025 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, level, reading, value
Sensor: visibility | fields: unit, qc, ts, lon
Task: Get reading from pressure where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073026 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, value, unit, depth
Sensor: temperature | fields: type, ts, unit, value
Task: Fetch reading from snow_depth where depth is greater than the average of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073027 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, reading, depth, ts
Sensor: dew_point | fields: unit, type, qc, lat
Task: Fetch reading from snow_depth where ts exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073028 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, level, type, lat
Sensor: cloud_cover | fields: depth, value, lon, type
Task: Get lat from frost where depth exceeds the count of depth from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073029 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lon, depth, ts, value
Sensor: turbidity | fields: level, type, reading, unit
Task: Retrieve level from sunlight whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073030 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: level, reading, lat, unit
Sensor: pressure | fields: lon, qc, lat, depth
Task: Fetch lat from air_quality where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073031 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, ts, level, reading
Sensor: dew_point | fields: level, qc, lat, type
Task: Fetch reading from air_quality that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073032 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: depth, lat, unit, value
Sensor: sunlight | fields: type, lat, lon, level
Task: Get value from lightning where depth appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073033 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, ts, qc, reading
Sensor: uv_index | fields: level, lon, type, lat
Task: Fetch level from drought_index where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073034 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: value, level, depth, lat
Sensor: temperature | fields: lat, depth, reading, qc
Task: Fetch level from dew_point where depth is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073035 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: level, value, type, depth
Sensor: rainfall | fields: lat, level, depth, ts
Task: Fetch depth from snow_depth where value is greater than the count of of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073036 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, level, qc, unit
Sensor: frost | fields: reading, type, value, ts
Task: Fetch reading from temperature that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073037 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, qc, ts, type
Sensor: lightning | fields: level, unit, type, value
Task: Get depth from soil_moisture where reading exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073038 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: level, ts, unit, reading
Sensor: turbidity | fields: lon, level, ts, depth
Task: Retrieve value from frost with reading above the COUNT(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073039 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: qc, unit, lon, value
Sensor: drought_index | fields: unit, depth, qc, type
Task: Get level from air_quality where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073040 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, value, lat, level
Sensor: humidity | fields: reading, lon, depth, value
Task: Retrieve lat from soil_moisture that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073041 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: level, qc, unit, depth
Sensor: frost | fields: reading, value, level, unit
Task: Fetch level from pressure where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073042 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: reading, lat, ts, type
Sensor: turbidity | fields: depth, lon, value, qc
Task: Fetch level from dew_point where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073043 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, lon, type, reading
Sensor: visibility | fields: level, type, depth, unit
Task: Fetch value from temperature where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073044 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: qc, depth, lon, unit
Sensor: pressure | fields: unit, depth, type, lat
Task: Retrieve level from temperature with reading above the SUM(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073045 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: type, lon, value, depth
Sensor: sunlight | fields: depth, lat, ts, value
Task: Get value from uv_index where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073046 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, lat, type, unit
Sensor: dew_point | fields: reading, value, type, unit
Task: Retrieve level from evaporation with reading above the MIN(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073047 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: type, lon, unit, value
Sensor: frost | fields: value, qc, reading, unit
Task: Fetch reading from air_quality that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073048 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, lat, level, unit
Sensor: frost | fields: reading, depth, unit, level
Task: Retrieve lon from rainfall whose type is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073049 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lon, level, reading, unit
Sensor: snow_depth | fields: lon, level, ts, unit
Task: Fetch lat from visibility that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073050 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, ts, type, qc
Sensor: humidity | fields: qc, lon, type, lat
Task: Retrieve level from visibility with depth above the COUNT(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"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_073051 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, unit, ts, lat
Sensor: rainfall | fields: unit, type, depth, qc
Task: Get level from lightning where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073052 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: type, lat, ts, level
Sensor: pressure | fields: lon, level, type, lat
Task: Get level from temperature where depth exceeds the minimum value from pressure for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073053 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, lat, depth, reading
Sensor: air_quality | fields: level, reading, value, ts
Task: Fetch depth from evaporation where reading is greater than the total of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073054 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, depth, qc, reading
Sensor: dew_point | fields: value, type, lon, reading
Task: Retrieve reading from lightning whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073055 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: value, lon, qc, type
Sensor: turbidity | fields: lat, type, value, lon
Task: Fetch lon from sunlight where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073056 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, type, qc, unit
Sensor: humidity | fields: value, reading, lat, depth
Task: Fetch value from lightning that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073057 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: value, lon, unit, reading
Sensor: rainfall | fields: type, unit, value, reading
Task: Get depth from temperature where reading exceeds the count of reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073058 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, depth, lon, reading
Sensor: turbidity | fields: ts, qc, lat, value
Task: Fetch depth from humidity where depth is greater than the total of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073059 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, lon, value, type
Sensor: humidity | fields: level, depth, unit, reading
Task: Retrieve value from turbidity that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073060 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, level, reading, lat
Sensor: dew_point | fields: reading, ts, lat, value
Task: Retrieve lon from cloud_cover whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073061 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, reading, lon, value
Sensor: drought_index | fields: unit, lon, reading, qc
Task: Retrieve value from soil_moisture whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073062 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, type, level, value
Sensor: frost | fields: depth, level, qc, type
Task: Fetch depth from wind_speed where type exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073063 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: reading, unit, ts, level
Sensor: turbidity | fields: ts, value, lon, reading
Task: Get value from evaporation where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073064 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: unit, ts, depth, lat
Sensor: snow_depth | fields: lat, value, level, lon
Task: Retrieve reading from dew_point whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073065 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, type, lon, lat
Sensor: pressure | fields: qc, value, unit, level
Task: Get depth from wind_speed where qc appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073066 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lon, ts, level, reading
Sensor: lightning | fields: reading, depth, qc, level
Task: Fetch lon from evaporation that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073067 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, reading, depth, level
Sensor: cloud_cover | fields: level, type, lon, ts
Task: Get lon from soil_moisture where depth exceeds the total value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073068 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, ts, qc, unit
Sensor: air_quality | fields: value, lon, unit, type
Task: Fetch depth from temperature that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073069 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, lon, unit, ts
Sensor: humidity | fields: qc, lat, value, level
Task: Fetch value from pressure that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073070 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lat, qc, ts, level
Sensor: snow_depth | fields: qc, lon, depth, ts
Task: Get value from drought_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073071 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, qc, ts, reading
Sensor: sunlight | fields: ts, reading, depth, unit
Task: Fetch level from cloud_cover that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073072 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, lat, value, type
Sensor: sunlight | fields: ts, qc, level, lat
Task: Retrieve reading from snow_depth that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073073 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: reading, unit, lon, depth
Sensor: turbidity | fields: reading, unit, type, lat
Task: Get value from frost where depth exceeds the minimum value from turbidity for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073074 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, ts, reading, type
Sensor: air_quality | fields: reading, qc, lon, lat
Task: Fetch lon from temperature that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073075 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: level, depth, ts, unit
Sensor: soil_moisture | fields: lon, lat, reading, unit
Task: Fetch lat from drought_index where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073076 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: reading, type, depth, unit
Sensor: visibility | fields: lat, level, unit, reading
Task: Fetch level from dew_point where depth is greater than the total of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073077 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, ts, level, depth
Sensor: cloud_cover | fields: qc, ts, lon, reading
Task: Retrieve depth from turbidity whose depth is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073078 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: level, unit, depth, type
Sensor: temperature | fields: lon, ts, level, type
Task: Get lon from frost where depth exceeds the average reading from temperature for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073079 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: qc, value, type, reading
Sensor: soil_moisture | fields: type, level, lat, lon
Task: Fetch value from lightning where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073080 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: value, type, qc, depth
Sensor: visibility | fields: level, qc, type, unit
Task: Fetch value from frost where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073081 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, level, unit, qc
Sensor: turbidity | fields: ts, unit, value, type
Task: Retrieve lon from sunlight whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073082 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, lat, ts, lon
Sensor: soil_moisture | fields: lat, unit, ts, level
Task: Fetch depth from temperature where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073083 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lon, depth, reading, level
Sensor: rainfall | fields: lon, type, reading, level
Task: Retrieve value from humidity whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073084 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, value, lon, lat
Sensor: uv_index | fields: type, level, lat, reading
Task: Fetch reading from wind_speed where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073085 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, qc, depth, lat
Sensor: uv_index | fields: lat, unit, depth, level
Task: Fetch level from soil_moisture that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073086 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, reading, ts, lat
Sensor: temperature | fields: type, value, level, ts
Task: Retrieve reading from pressure that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073087 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: qc, lon, depth, ts
Sensor: lightning | fields: value, type, ts, depth
Task: Retrieve level from temperature whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073088 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, level, reading, lat
Sensor: temperature | fields: unit, reading, lat, ts
Task: Get level from air_quality where reading exceeds the total reading from temperature for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073089 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, level, reading, qc
Sensor: humidity | fields: lat, depth, qc, reading
Task: Fetch depth from snow_depth that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073090 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, level, reading, depth
Sensor: visibility | fields: qc, lon, level, unit
Task: Retrieve lat from rainfall that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073091 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, qc, type, unit
Sensor: sunlight | fields: type, unit, level, qc
Task: Get lat from wind_speed where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073092 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, depth, level, lon
Sensor: turbidity | fields: level, lat, ts, type
Task: Retrieve lon from cloud_cover with value above the MAX(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073093 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, lat, qc
Sensor: rainfall | fields: depth, ts, qc, level
Task: Fetch level from air_quality that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073094 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, lon, qc, depth
Sensor: temperature | fields: qc, lat, level, value
Task: Retrieve lon from evaporation whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073095 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, reading, depth, unit
Sensor: lightning | fields: lat, value, lon, reading
Task: Retrieve value from rainfall whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073096 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: reading, lat, qc, type
Sensor: snow_depth | fields: type, qc, ts, reading
Task: Get lon from uv_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073097 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: reading, qc, ts, depth
Sensor: drought_index | fields: reading, ts, level, lat
Task: Retrieve lon from visibility whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073098 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, reading, ts, value
Sensor: cloud_cover | fields: value, type, lat, unit
Task: Fetch depth from humidity that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.