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: evaporation | code: hub | fields: lat, level, unit, ts
Sensor: humidity | fields: level, type, unit, depth
Task: Get reading from evaporation where type appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011200 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lat, ts, lon, value
Sensor: wind_speed | fields: depth, unit, lat, type
Task: Fetch lon from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011201 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, qc, ts, lat
Sensor: sunlight | fields: value, type, lat, reading
Task: Get level from cloud_cover where value exceeds the average reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011202 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, ts, lon, reading
Sensor: snow_depth | fields: qc, value, level, unit
Task: Fetch lon from drought_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011203 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, unit, type, depth
Sensor: snow_depth | fields: reading, depth, type, lat
Task: Get lon from pressure where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011204 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lat, lon, value, type
Sensor: temperature | fields: lat, value, unit, reading
Task: Fetch lat from evaporation that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011205 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, level, reading, unit
Sensor: drought_index | fields: reading, depth, level, unit
Task: Get level from frost where reading exceeds the minimum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011206 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, value, lat, lon
Sensor: wind_speed | fields: qc, level, lat, value
Task: Get lat from cloud_cover where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011207 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, value, level, lat
Sensor: turbidity | fields: depth, ts, level, value
Task: Fetch reading from cloud_cover that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011208 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: unit, depth, value, level
Sensor: soil_moisture | fields: qc, level, type, lat
Task: Fetch value from rainfall where depth is greater than the maximum of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011209 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lon, ts, reading, depth
Sensor: humidity | fields: ts, value, unit, reading
Task: Fetch lat from evaporation where value is greater than the minimum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011210 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, qc, lon, ts
Sensor: pressure | fields: lat, qc, value, depth
Task: Get level from snow_depth where value exceeds the count of reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011211 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, reading, type, depth
Sensor: uv_index | fields: depth, lon, type, qc
Task: Fetch lat from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011212 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: level, unit, reading, qc
Sensor: evaporation | fields: reading, level, lat, value
Task: Get lat from visibility where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011213 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, depth, level, type
Sensor: dew_point | fields: lon, lat, unit, reading
Task: Get depth from frost where reading exceeds the average depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011214 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, reading, depth, type
Sensor: dew_point | fields: qc, value, level, reading
Task: Get level from evaporation where reading exceeds the maximum depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011215 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: type, unit, qc, lon
Sensor: snow_depth | fields: type, lon, reading, depth
Task: Get value from uv_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011216 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: type, level, reading, depth
Sensor: snow_depth | fields: type, reading, lon, value
Task: Get depth from uv_index where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011217 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: value, lat, lon, reading
Sensor: frost | fields: qc, type, ts, value
Task: Fetch value from air_quality that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011218 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, depth, reading, qc
Sensor: soil_moisture | fields: lat, unit, value, lon
Task: Fetch depth from temperature that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011219 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: ts, type, qc, unit
Sensor: pressure | fields: qc, value, reading, lon
Task: Retrieve level from visibility whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011220 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, reading, value, unit
Sensor: cloud_cover | fields: lat, ts, value, qc
Task: Retrieve value from air_quality that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011221 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, qc, lon, type
Sensor: turbidity | fields: lat, qc, unit, value
Task: Fetch reading from soil_moisture that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011222 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, ts, depth, unit
Sensor: cloud_cover | fields: lat, type, level, reading
Task: Fetch depth from air_quality that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011223 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, level, reading, value
Sensor: soil_moisture | fields: depth, level, unit, qc
Task: Get depth from visibility where reading exceeds the average depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011224 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: depth, lat, type, qc
Sensor: air_quality | fields: depth, level, lon, qc
Task: Fetch reading from humidity where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011225 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: reading, ts, type, qc
Sensor: pressure | fields: reading, type, lon, ts
Task: Get level from turbidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011226 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, level, unit, depth
Sensor: wind_speed | fields: level, depth, ts, reading
Task: Fetch value from turbidity where qc exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011227 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, lon, level, type
Sensor: snow_depth | fields: unit, ts, level, lon
Task: Retrieve lat from air_quality whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011228 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, ts, type, lon
Sensor: humidity | fields: type, ts, lon, level
Task: Retrieve reading from air_quality that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
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",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011229 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, value, lon, reading
Sensor: air_quality | fields: lon, value, level, reading
Task: Get lon from visibility where type appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011230 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, lon, depth, lat
Sensor: evaporation | fields: value, ts, lon, level
Task: Retrieve reading from soil_moisture with reading above the MIN(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011231 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, reading, ts, type
Sensor: soil_moisture | fields: qc, lat, level, unit
Task: Fetch lat from rainfall that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011232 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, unit, value, depth
Sensor: dew_point | fields: reading, depth, lon, lat
Task: Retrieve level from humidity that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011233 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, reading, depth, ts
Sensor: snow_depth | fields: qc, ts, type, lon
Task: Retrieve reading from uv_index whose type is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011234 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: value, level, depth, type
Sensor: uv_index | fields: qc, lat, value, unit
Task: Fetch depth from lightning where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011235 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, lon, depth, qc
Sensor: soil_moisture | fields: reading, lat, unit, type
Task: Fetch reading from humidity where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011236 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, depth, lon, ts
Sensor: soil_moisture | fields: ts, reading, unit, depth
Task: Fetch level from uv_index where depth is greater than the minimum of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011237 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, lat, level, ts
Sensor: evaporation | fields: ts, lat, depth, reading
Task: Fetch level from humidity that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011238 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, depth, type, qc
Sensor: lightning | fields: unit, value, qc, level
Task: Fetch lat from soil_moisture where unit exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011239 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: unit, reading, qc, lat
Sensor: wind_speed | fields: depth, value, ts, type
Task: Retrieve depth from humidity with reading above the SUM(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011240 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lon, depth, ts
Sensor: pressure | fields: unit, lat, type, lon
Task: Get level from cloud_cover where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011241 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, unit, ts, reading
Sensor: soil_moisture | fields: lat, lon, level, unit
Task: Retrieve reading from cloud_cover whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011242 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, reading, value, qc
Sensor: pressure | fields: ts, level, lon, qc
Task: Retrieve value from evaporation with depth above the COUNT(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011243 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, ts, type, qc
Sensor: sunlight | fields: unit, lon, reading, level
Task: Fetch reading from air_quality where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011244 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: level, depth, type, value
Sensor: lightning | fields: level, lat, depth, unit
Task: Get reading from sunlight where unit appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011245 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, qc, ts, lat
Sensor: soil_moisture | fields: unit, lon, reading, ts
Task: Get reading from air_quality where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011246 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, type, unit, qc
Sensor: rainfall | fields: reading, depth, level, lon
Task: Get value from dew_point where depth exceeds the count of value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011247 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: reading, level, qc, type
Sensor: visibility | fields: lon, reading, unit, level
Task: Fetch depth from dew_point that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011248 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: value, qc, lon, unit
Sensor: wind_speed | fields: value, lat, depth, ts
Task: Get lat from dew_point where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011249 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, ts, value, qc
Sensor: sunlight | fields: reading, unit, lat, type
Task: Fetch reading from evaporation where depth is greater than the maximum of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011250 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: reading, level, depth, unit
Sensor: turbidity | fields: lon, qc, depth, reading
Task: Get lon from sunlight where value exceeds the maximum value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011251 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, ts, type, depth
Sensor: dew_point | fields: lon, ts, level, depth
Task: Retrieve depth from drought_index with reading above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011252 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, depth, qc, lat
Sensor: visibility | fields: lat, type, ts, reading
Task: Fetch level from drought_index where depth is greater than the minimum of value in visibility for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011253 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, lat, ts, level
Sensor: temperature | fields: lat, reading, unit, type
Task: Fetch lat from turbidity where depth is greater than the average of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011254 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, lat, qc, unit
Sensor: cloud_cover | fields: value, type, lat, lon
Task: Retrieve level from soil_moisture whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011255 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lat, depth, lon, ts
Sensor: turbidity | fields: ts, type, lat, depth
Task: Get lat from lightning where depth exceeds the minimum depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011256 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, ts, type, unit
Sensor: wind_speed | fields: reading, level, unit, lon
Task: Get value from lightning where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011257 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, ts, level, type
Sensor: sunlight | fields: type, qc, ts, value
Task: Retrieve depth from humidity with value above the MAX(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011258 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, depth, lon, level
Sensor: soil_moisture | fields: type, lat, level, value
Task: Retrieve level from temperature whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011259 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, type, value, lat
Sensor: cloud_cover | fields: lat, level, ts, depth
Task: Retrieve level from rainfall with value above the MIN(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"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_011260 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, level, depth, lat
Sensor: rainfall | fields: ts, depth, level, unit
Task: Retrieve value from lightning with value above the COUNT(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011261 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: depth, value, ts, unit
Sensor: wind_speed | fields: depth, unit, level, qc
Task: Get level from air_quality where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011262 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, level, ts, reading
Sensor: turbidity | fields: reading, value, unit, depth
Task: Retrieve depth from pressure that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011263 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, level, lon, depth
Sensor: wind_speed | fields: ts, type, depth, lon
Task: Get lon from soil_moisture where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011264 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, qc, reading, unit
Sensor: sunlight | fields: lon, qc, level, type
Task: Retrieve value from soil_moisture that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011265 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, level, reading, depth
Sensor: temperature | fields: lat, ts, qc, level
Task: Get lat from soil_moisture where depth exceeds the minimum reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011266 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: type, ts, level, unit
Sensor: evaporation | fields: type, value, ts, lat
Task: Retrieve value from lightning whose depth is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011267 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, lat, ts, reading
Sensor: sunlight | fields: value, reading, level, qc
Task: Fetch level from turbidity where qc exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011268 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: reading, unit, lat, value
Sensor: temperature | fields: qc, type, reading, lat
Task: Fetch lat from turbidity where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011269 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, reading, lon, level
Sensor: soil_moisture | fields: level, lon, lat, type
Task: Fetch lon from drought_index where reading is greater than the count of of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011270 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, qc, lon, unit
Sensor: air_quality | fields: value, reading, type, ts
Task: Retrieve depth from pressure that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011271 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, depth, unit, level
Sensor: temperature | fields: unit, level, value, ts
Task: Fetch value from dew_point that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011272 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lon, depth, ts, lat
Sensor: temperature | fields: level, qc, ts, type
Task: Fetch depth from turbidity where value is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011273 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, depth, lat, value
Sensor: sunlight | fields: value, reading, qc, ts
Task: Fetch reading from soil_moisture that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011274 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: unit, qc, depth, level
Sensor: humidity | fields: unit, value, level, lon
Task: Retrieve lat from pressure whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011275 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, type, reading, level
Sensor: cloud_cover | fields: lat, type, lon, depth
Task: Get depth from wind_speed where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011276 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, value, lon, qc
Sensor: air_quality | fields: value, type, ts, qc
Task: Fetch value from frost that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011277 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, qc, level, reading
Sensor: visibility | fields: unit, lon, depth, qc
Task: Retrieve depth from temperature whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011278 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, value, lon, level
Sensor: lightning | fields: level, unit, value, qc
Task: Fetch depth from pressure where reading is greater than the maximum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011279 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lat, ts, level, depth
Sensor: drought_index | fields: lat, qc, unit, reading
Task: Fetch lat from turbidity where depth exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011280 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: ts, unit, type, qc
Sensor: cloud_cover | fields: type, ts, level, reading
Task: Fetch lon from evaporation where value is greater than the minimum of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011281 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, reading, unit
Sensor: drought_index | fields: level, value, lon, unit
Task: Get level from cloud_cover where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011282 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, level, lat, type
Sensor: drought_index | fields: ts, lat, qc, reading
Task: Fetch lat from humidity where depth is greater than the count of of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011283 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, lon, unit, level
Sensor: sunlight | fields: level, reading, qc, depth
Task: Get level from temperature where ts appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011284 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, ts, qc, level
Sensor: drought_index | fields: level, lon, depth, type
Task: Retrieve value from soil_moisture with depth above the SUM(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011285 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, lat, level, ts
Sensor: dew_point | fields: qc, unit, reading, type
Task: Retrieve lon from soil_moisture with depth above the AVG(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011286 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, qc, ts, unit
Sensor: soil_moisture | fields: level, reading, unit, lat
Task: Retrieve lon from cloud_cover with depth above the MAX(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011287 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, reading, lat, qc
Sensor: visibility | fields: level, type, qc, ts
Task: Get reading from humidity where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011288 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, value, qc, lon
Sensor: cloud_cover | fields: value, qc, lat, ts
Task: Fetch value from soil_moisture where value is greater than the average of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011289 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: value, lat, reading, lon
Sensor: soil_moisture | fields: type, ts, reading, lat
Task: Fetch lon from snow_depth that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011290 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lat, reading, ts, unit
Sensor: drought_index | fields: lon, qc, reading, level
Task: Retrieve lon from humidity with depth above the COUNT(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011291 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, qc, unit, lat
Sensor: snow_depth | fields: lon, qc, unit, level
Task: Retrieve reading from turbidity that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011292 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, value, level, lon
Sensor: rainfall | fields: lon, lat, level, ts
Task: Get lat from turbidity where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011293 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, lat, reading, ts
Sensor: humidity | fields: unit, qc, ts, value
Task: Fetch level from sunlight where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011294 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, ts, reading
Sensor: temperature | fields: lon, ts, depth, value
Task: Retrieve lon from rainfall whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011295 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, value, reading, unit
Sensor: turbidity | fields: ts, lon, lat, type
Task: Retrieve level from cloud_cover that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011296 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, level, type, lat
Sensor: visibility | fields: level, value, lon, depth
Task: Retrieve reading from humidity that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011297 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: level, reading, lon, depth
Sensor: humidity | fields: level, type, depth, lon
Task: Get value from frost where ts appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011298 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: value, qc, depth, lat
Sensor: humidity | fields: qc, value, reading, type
Task: Get lon from temperature where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.