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: visibility | code: gst | fields: ts, reading, value, level
Sensor: pressure | fields: lat, depth, value, type
Task: Retrieve depth from visibility whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043100 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, value, lat, qc
Sensor: cloud_cover | fields: ts, unit, type, lon
Task: Fetch reading from uv_index where depth is greater than the count of of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043101 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, lon, qc
Sensor: rainfall | fields: qc, level, type, value
Task: Retrieve lat from lightning with depth above the MAX(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043102 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, lat, depth, value
Sensor: lightning | fields: unit, type, lon, level
Task: Get value from visibility where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043103 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, unit, type, lon
Sensor: visibility | fields: depth, lat, reading, ts
Task: Get lon from temperature where depth exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043104 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: depth, level, lat, type
Sensor: wind_speed | fields: depth, ts, reading, unit
Task: Retrieve level from dew_point whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043105 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, depth, level, value
Sensor: drought_index | fields: unit, value, reading, ts
Task: Retrieve level from wind_speed whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043106 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, qc, type, depth
Sensor: temperature | fields: lat, value, lon, type
Task: Retrieve value from visibility whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043107 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, reading, depth, unit
Sensor: evaporation | fields: lon, lat, qc, reading
Task: Fetch reading from pressure where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043108 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: level, depth, lat, reading
Sensor: drought_index | fields: type, level, depth, value
Task: Retrieve depth from visibility that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043109 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, level, reading, depth
Sensor: frost | fields: type, lat, reading, depth
Task: Get lon from rainfall where depth exceeds the count of depth from frost for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043110 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, qc, unit, ts
Sensor: visibility | fields: qc, unit, level, depth
Task: Get value from wind_speed where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043111 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, qc, depth, type
Sensor: uv_index | fields: unit, reading, type, qc
Task: Fetch value from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043112 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, unit, ts
Sensor: visibility | fields: level, lat, depth, lon
Task: Get lat from cloud_cover where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043113 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lat, unit, level, ts
Sensor: frost | fields: depth, level, value, qc
Task: Get value from visibility where depth exceeds the maximum value from frost for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043114 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, type, lat, qc
Sensor: rainfall | fields: level, depth, value, reading
Task: Fetch value from cloud_cover where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043115 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, ts, lon, unit
Sensor: soil_moisture | fields: ts, depth, lat, qc
Task: Get reading from evaporation where depth exceeds the total depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043116 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, value, lon, type
Sensor: temperature | fields: type, depth, qc, lon
Task: Get reading from soil_moisture where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043117 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, qc, unit, value
Sensor: snow_depth | fields: ts, reading, level, depth
Task: Retrieve lon from humidity with depth above the SUM(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043118 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, type, value, reading
Sensor: cloud_cover | fields: lon, reading, ts, type
Task: Retrieve reading from pressure whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043119 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, value, ts, reading
Sensor: wind_speed | fields: qc, depth, ts, lat
Task: Get lat from turbidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043120 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, level, lon, qc
Sensor: wind_speed | fields: lat, reading, ts, type
Task: Fetch lat from rainfall where depth is greater than the maximum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043121 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, unit, qc, lon
Sensor: frost | fields: level, ts, value, type
Task: Get lat from cloud_cover where reading exceeds the maximum value from frost for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043122 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lon, lat, value
Sensor: wind_speed | fields: depth, level, unit, type
Task: Get reading from evaporation where depth exceeds the total reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043123 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, value, ts, lon
Sensor: snow_depth | fields: type, value, depth, qc
Task: Get level from frost where value exceeds the maximum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043124 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lat, depth, type, level
Sensor: wind_speed | fields: type, depth, qc, unit
Task: Fetch value from drought_index that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043125 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, type, level, depth
Sensor: evaporation | fields: lon, unit, value, ts
Task: Retrieve depth from humidity whose ts is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043126 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, reading, ts, level
Sensor: uv_index | fields: lat, type, value, ts
Task: Fetch depth from dew_point where value is greater than the minimum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043127 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lat, lon, qc
Sensor: snow_depth | fields: lat, type, value, depth
Task: Get value from visibility where value exceeds the minimum value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043128 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, ts, lon, unit
Sensor: lightning | fields: reading, depth, value, lat
Task: Fetch lat from sunlight that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043129 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: depth, reading, ts, value
Sensor: humidity | fields: lon, unit, qc, type
Task: Get lat from turbidity where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043130 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, unit, qc, reading
Sensor: visibility | fields: lon, qc, type, lat
Task: Retrieve lat from evaporation whose ts is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043131 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, type, lat, ts
Sensor: wind_speed | fields: lon, depth, level, type
Task: Retrieve lon from soil_moisture whose depth is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043132 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, reading, value, depth
Sensor: air_quality | fields: ts, qc, reading, depth
Task: Fetch value from sunlight where depth is greater than the maximum of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043133 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, reading, type
Sensor: rainfall | fields: ts, unit, reading, lat
Task: Fetch level from humidity that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043134 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: type, reading, qc, ts
Sensor: evaporation | fields: qc, ts, lon, lat
Task: Fetch level from visibility where value is greater than the average of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043135 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: type, qc, depth, level
Sensor: pressure | fields: value, ts, lon, reading
Task: Get lat from evaporation where reading exceeds the count of reading from pressure for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043136 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, level, value, depth
Sensor: frost | fields: depth, type, unit, lat
Task: Get lat from soil_moisture where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043137 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, unit, value, ts
Sensor: uv_index | fields: depth, value, ts, qc
Task: Fetch level from humidity that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043138 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, unit, lat, type
Sensor: uv_index | fields: value, qc, lat, lon
Task: Get depth from evaporation where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043139 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, unit, lon, value
Sensor: frost | fields: lat, unit, type, value
Task: Retrieve depth from rainfall with value above the MIN(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043140 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, ts, type, lon
Sensor: uv_index | fields: lon, lat, depth, level
Task: Fetch value from visibility that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043141 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, level, lat, ts
Sensor: frost | fields: type, ts, level, reading
Task: Retrieve value from snow_depth that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043142 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, unit, depth, lon
Sensor: evaporation | fields: level, unit, type, reading
Task: Retrieve lat from cloud_cover with value above the MAX(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043143 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, value, unit, ts
Sensor: soil_moisture | fields: depth, lat, reading, lon
Task: Retrieve lat from humidity with reading above the MIN(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043144 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, lon, level, depth
Sensor: sunlight | fields: reading, ts, depth, qc
Task: Retrieve depth from temperature that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043145 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, reading, value, level
Sensor: frost | fields: lon, value, ts, depth
Task: Retrieve lat from wind_speed with value above the COUNT(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043146 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, value, reading, level
Sensor: wind_speed | fields: type, value, unit, lat
Task: Fetch reading from drought_index where depth is greater than the minimum of depth in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043147 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: reading, qc, level, lon
Sensor: uv_index | fields: lat, lon, depth, unit
Task: Retrieve depth from frost that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043148 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lon, qc, unit
Sensor: drought_index | fields: unit, type, depth, ts
Task: Fetch reading from air_quality where value is greater than the total of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043149 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lon, unit, level, type
Sensor: humidity | fields: lon, ts, qc, level
Task: Fetch reading from turbidity where unit exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043150 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, type, depth, reading
Sensor: humidity | fields: lon, type, depth, level
Task: Get reading from temperature where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043151 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: ts, lon, level, lat
Sensor: dew_point | fields: value, depth, lat, ts
Task: Retrieve depth from uv_index whose unit is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043152 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, qc, depth, lat
Sensor: soil_moisture | fields: unit, qc, ts, depth
Task: Fetch reading from pressure that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043153 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, value, type, lat
Sensor: snow_depth | fields: type, reading, level, lon
Task: Retrieve depth from temperature whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043154 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, level, unit, depth
Sensor: cloud_cover | fields: level, depth, ts, lat
Task: Get lon from air_quality where value exceeds the minimum reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"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_043155 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: qc, unit, reading, depth
Sensor: visibility | fields: reading, unit, qc, lon
Task: Retrieve lon from pressure with reading above the MIN(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043156 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, qc, level, unit
Sensor: frost | fields: ts, lon, unit, depth
Task: Retrieve value from wind_speed with value above the AVG(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043157 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, unit, value, reading
Sensor: air_quality | fields: lon, ts, value, unit
Task: Get reading from visibility where depth appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043158 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, lat, level, value
Sensor: soil_moisture | fields: qc, type, value, depth
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043159 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: qc, type, lat, depth
Sensor: sunlight | fields: lat, value, level, reading
Task: Get lat from visibility where unit appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043160 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, value, lat, qc
Sensor: turbidity | fields: type, ts, value, level
Task: Retrieve value from cloud_cover whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043161 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, ts, type, lat
Sensor: sunlight | fields: qc, unit, reading, lat
Task: Get lon from visibility where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043162 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, lat, unit, value
Sensor: sunlight | fields: value, unit, lat, type
Task: Fetch reading from humidity where reading is greater than the maximum of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043163 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, unit, reading, ts
Sensor: evaporation | fields: ts, qc, depth, value
Task: Get depth from soil_moisture where value exceeds the maximum depth from evaporation for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043164 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, unit, reading, lon
Sensor: humidity | fields: lat, lon, reading, unit
Task: Fetch level from wind_speed where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043165 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, depth, value, reading
Sensor: rainfall | fields: type, level, lat, depth
Task: Retrieve reading from snow_depth with value above the MIN(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043166 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, level, lon, lat
Sensor: visibility | fields: depth, type, lat, reading
Task: Retrieve lon from evaporation that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043167 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, lon, unit, qc
Sensor: turbidity | fields: qc, type, value, reading
Task: Fetch depth from soil_moisture where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043168 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, ts, level, value
Sensor: uv_index | fields: reading, lon, level, unit
Task: Retrieve depth from cloud_cover that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043169 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, level, unit, depth
Sensor: lightning | fields: qc, reading, ts, lon
Task: Retrieve reading from drought_index that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043170 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, value, reading, unit
Sensor: temperature | fields: type, unit, lon, value
Task: Fetch value from pressure that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043171 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, reading, qc, value
Sensor: sunlight | fields: lon, ts, reading, lat
Task: Get lon from air_quality where value exceeds the maximum value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043172 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, lon, unit, type
Sensor: air_quality | fields: lon, level, lat, depth
Task: Get value from turbidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"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_043173 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, lon, qc, level
Sensor: sunlight | fields: reading, unit, level, type
Task: Fetch depth from snow_depth where depth is greater than the count of of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043174 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lon, value, level, lat
Sensor: sunlight | fields: unit, depth, reading, ts
Task: Retrieve depth from evaporation that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043175 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, unit, depth
Sensor: soil_moisture | fields: ts, depth, lat, unit
Task: Get reading from cloud_cover where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
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",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043176 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, lon, value, ts
Sensor: frost | fields: type, reading, lon, unit
Task: Retrieve value from humidity that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043177 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, value, reading, lat
Sensor: wind_speed | fields: depth, lat, level, ts
Task: Fetch lat from uv_index that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043178 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, type, reading, depth
Sensor: rainfall | fields: qc, level, lon, reading
Task: Retrieve reading from evaporation that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043179 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, reading, level, value
Sensor: uv_index | fields: qc, level, lon, value
Task: Retrieve lon from wind_speed that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043180 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, qc, ts, lat
Sensor: rainfall | fields: type, level, value, unit
Task: Get value from temperature where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043181 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, reading, level, ts
Sensor: pressure | fields: lon, level, qc, unit
Task: Fetch depth from drought_index where value is greater than the minimum of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043182 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, type, depth, lon
Sensor: wind_speed | fields: ts, level, value, depth
Task: Fetch lon from soil_moisture where depth is greater than the minimum of depth in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043183 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, type, level, lat
Sensor: drought_index | fields: lon, lat, level, value
Task: Retrieve reading from cloud_cover with depth above the AVG(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043184 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, depth, lat, value
Sensor: rainfall | fields: unit, lat, reading, ts
Task: Retrieve lon from dew_point whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043185 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, unit, depth, lon
Sensor: lightning | fields: qc, unit, lon, reading
Task: Retrieve lat from drought_index that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043186 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, value, depth, level
Sensor: drought_index | fields: qc, unit, depth, type
Task: Fetch lon from cloud_cover where reading is greater than the maximum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043187 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lon, type, ts
Sensor: air_quality | fields: ts, qc, level, unit
Task: Fetch lat from cloud_cover where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043188 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: value, lat, depth, reading
Sensor: pressure | fields: unit, qc, ts, reading
Task: Get level from temperature where depth exceeds the count of reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043189 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, value, level, reading
Sensor: snow_depth | fields: level, lat, qc, unit
Task: Get reading from evaporation where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043190 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, lat, qc, level
Sensor: drought_index | fields: value, reading, ts, type
Task: Get reading from air_quality where depth exceeds the count of reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043191 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, lon, qc, depth
Sensor: air_quality | fields: lat, ts, value, type
Task: Get lon from pressure where depth appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043192 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, ts, value, reading
Sensor: snow_depth | fields: level, depth, value, type
Task: Get reading from uv_index where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043193 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, reading, unit, ts
Sensor: dew_point | fields: qc, depth, type, lon
Task: Fetch lat from cloud_cover where reading is greater than the count of of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043194 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: qc, ts, lat, depth
Sensor: sunlight | fields: unit, reading, depth, value
Task: Get lon from temperature where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043195 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, reading, level, type
Sensor: snow_depth | fields: qc, lon, lat, unit
Task: Get reading from drought_index where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043196 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, ts, level, reading
Sensor: drought_index | fields: value, type, lat, depth
Task: Get lat from lightning where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043197 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, type, depth, lat
Sensor: humidity | fields: value, lon, level, qc
Task: Retrieve depth from frost with depth above the SUM(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043198 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, qc, depth, lon
Sensor: wind_speed | fields: value, lat, unit, qc
Task: Fetch depth from rainfall where depth is greater than the total of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.