variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: turbidity | code: thr | fields: value, unit, type, ts
Sensor: cloud_cover | fields: ts, level, value, qc
Task: Retrieve lon from turbidity that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084100 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, level, lat, reading
Sensor: turbidity | fields: ts, lat, value, depth
Task: Fetch lat from air_quality where value is greater than the minimum of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084101 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, depth, lat, reading
Sensor: sunlight | fields: depth, lat, reading, qc
Task: Retrieve depth from humidity that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084102 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, type, depth, level
Sensor: lightning | fields: qc, depth, lon, reading
Task: Get lon from wind_speed where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084103 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, depth, value, ts
Sensor: visibility | fields: value, depth, qc, lat
Task: Get level from humidity where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084104 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, depth, level, lon
Sensor: temperature | fields: reading, lat, depth, qc
Task: Fetch depth from air_quality where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084105 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, value, ts, depth
Sensor: lightning | fields: reading, unit, value, qc
Task: Fetch level from pressure that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084106 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: level, depth, unit, qc
Sensor: sunlight | fields: qc, level, ts, unit
Task: Fetch lat from visibility where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084107 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: reading, qc, type, lon
Sensor: uv_index | fields: reading, ts, unit, depth
Task: Fetch depth from pressure where value is greater than the average of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084108 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lon, type, ts, unit
Sensor: snow_depth | fields: depth, lat, unit, qc
Task: Get depth from rainfall where unit appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084109 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, lat, value, type
Sensor: drought_index | fields: lon, reading, depth, qc
Task: Fetch lat from snow_depth where reading is greater than the average of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084110 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: depth, type, qc, reading
Sensor: evaporation | fields: unit, type, reading, value
Task: Fetch lat from frost where reading is greater than the count of of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084111 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: type, qc, lat, unit
Sensor: evaporation | fields: level, depth, value, type
Task: Get lat from drought_index where depth exceeds the count of value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084112 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, unit, level, value
Sensor: wind_speed | fields: ts, level, lon, qc
Task: Get depth from frost where depth exceeds the total value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084113 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: unit, qc, lat, type
Sensor: drought_index | fields: qc, value, lon, type
Task: Fetch depth from temperature where value is greater than the total of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084114 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, ts, lon, unit
Sensor: dew_point | fields: type, lat, level, reading
Task: Fetch reading from wind_speed where depth is greater than the total of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084115 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, qc, depth, lon
Sensor: rainfall | fields: type, lat, qc, reading
Task: Get reading from lightning where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084116 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, level, value, reading
Sensor: turbidity | fields: lat, reading, value, ts
Task: Get reading from wind_speed where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084117 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, depth, type, level
Sensor: rainfall | fields: level, ts, value, lat
Task: Fetch lat from soil_moisture where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084118 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, level, value, reading
Sensor: visibility | fields: ts, depth, type, lon
Task: Fetch lat from wind_speed where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084119 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, ts, unit, value
Sensor: wind_speed | fields: level, depth, qc, value
Task: Fetch reading from lightning where ts exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084120 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, type, value, unit
Sensor: air_quality | fields: reading, type, depth, lon
Task: Get reading from soil_moisture where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084121 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, level, unit, qc
Sensor: snow_depth | fields: lat, depth, unit, ts
Task: Get lon from lightning where reading exceeds the average reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084122 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, unit, type, reading
Sensor: uv_index | fields: lat, depth, lon, ts
Task: Get value from humidity where type appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084123 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, depth, lat, level
Sensor: visibility | fields: reading, lon, level, depth
Task: Get lat from temperature where reading exceeds the minimum depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084124 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, qc, type, level
Sensor: soil_moisture | fields: reading, unit, value, qc
Task: Get value from humidity where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084125 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, unit, depth, reading
Sensor: evaporation | fields: qc, reading, depth, level
Task: Fetch reading from pressure where unit exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084126 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, level, value, qc
Sensor: dew_point | fields: type, lon, value, depth
Task: Retrieve lon from temperature whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084127 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: value, lat, lon, level
Sensor: drought_index | fields: value, unit, ts, reading
Task: Retrieve reading from rainfall that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084128 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, lat, lon, value
Sensor: dew_point | fields: level, unit, lon, value
Task: Get depth from rainfall where value exceeds the average reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084129 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, ts, unit, value
Sensor: drought_index | fields: value, qc, depth, type
Task: Get level from temperature where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084130 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, unit, value, ts
Sensor: sunlight | fields: type, value, lat, ts
Task: Get reading from cloud_cover where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084131 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: type, value, level, reading
Sensor: lightning | fields: ts, reading, level, lon
Task: Retrieve lon from dew_point whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084132 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, value, depth, type
Sensor: lightning | fields: reading, type, lon, value
Task: Get level from frost where value exceeds the total reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084133 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, type, reading
Sensor: soil_moisture | fields: value, qc, unit, ts
Task: Fetch lon from turbidity where value is greater than the minimum of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084134 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, value, unit, level
Sensor: visibility | fields: level, value, type, depth
Task: Fetch lat from sunlight where depth is greater than the maximum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084135 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, qc, depth, lat
Sensor: sunlight | fields: ts, reading, lat, depth
Task: Get depth from evaporation where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084136 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, level, depth
Sensor: rainfall | fields: lat, unit, qc, ts
Task: Get lat from temperature where unit appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084137 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, lon, type, ts
Sensor: frost | fields: depth, value, type, unit
Task: Fetch lat from air_quality where reading is greater than the count of of value in frost for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084138 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, lat, qc, lon
Sensor: dew_point | fields: value, unit, type, reading
Task: Fetch lon from frost where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084139 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: reading, ts, unit, value
Sensor: snow_depth | fields: level, value, qc, unit
Task: Get lon from air_quality where value exceeds the count of reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084140 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, qc, reading
Sensor: humidity | fields: reading, ts, type, qc
Task: Fetch lon from uv_index where value is greater than the maximum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084141 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, qc, lat, depth
Sensor: pressure | fields: level, lat, reading, depth
Task: Retrieve reading from visibility with reading above the AVG(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084142 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, type, lon, unit
Sensor: lightning | fields: value, lat, depth, ts
Task: Fetch level from uv_index where reading is greater than the average of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084143 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, type, lon, lat
Sensor: humidity | fields: value, lat, ts, lon
Task: Fetch lat from snow_depth where reading is greater than the count of of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084144 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: value, unit, lon, depth
Sensor: wind_speed | fields: qc, lat, ts, reading
Task: Retrieve level from sunlight with value above the MAX(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084145 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, unit, type, depth
Sensor: sunlight | fields: reading, value, qc, level
Task: Fetch lon from cloud_cover that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084146 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: qc, level, value, unit
Sensor: dew_point | fields: value, level, qc, lat
Task: Retrieve reading from temperature whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084147 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, reading, value, lon
Sensor: pressure | fields: reading, ts, level, unit
Task: Get lon from snow_depth where value exceeds the average depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084148 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: qc, unit, lat, reading
Sensor: temperature | fields: lat, lon, value, ts
Task: Retrieve reading from evaporation with reading above the MAX(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084149 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: depth, unit, value, lat
Sensor: soil_moisture | fields: ts, lon, reading, unit
Task: Retrieve lon from humidity that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084150 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, value, type, lat
Sensor: wind_speed | fields: type, ts, depth, reading
Task: Fetch level from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084151 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lon, type, value
Sensor: cloud_cover | fields: value, unit, type, reading
Task: Fetch level from wind_speed where ts exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084152 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: value, type, level, qc
Sensor: soil_moisture | fields: reading, lat, qc, value
Task: Get value from wind_speed where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084153 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, value, lon, reading
Sensor: lightning | fields: lat, level, qc, unit
Task: Retrieve lat from rainfall that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084154 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, ts, lon, type
Sensor: turbidity | fields: ts, reading, value, lon
Task: Retrieve lon from air_quality with reading above the SUM(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084155 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: level, lat, lon, value
Sensor: sunlight | fields: ts, qc, lon, unit
Task: Fetch lat from lightning that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084156 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: ts, qc, depth, reading
Sensor: evaporation | fields: level, qc, lat, depth
Task: Get lon from frost where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084157 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, ts, lat, unit
Sensor: frost | fields: ts, reading, qc, lon
Task: Retrieve reading from air_quality with reading above the SUM(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084158 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: type, value, ts, level
Sensor: rainfall | fields: unit, qc, value, type
Task: Get lat from pressure where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084159 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, depth, type, unit
Sensor: soil_moisture | fields: reading, type, level, ts
Task: Fetch reading from uv_index where depth is greater than the maximum of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084160 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, type, unit, level
Sensor: uv_index | fields: qc, depth, level, unit
Task: Retrieve reading from pressure with reading above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084161 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, lat, level, lon
Sensor: rainfall | fields: value, ts, level, reading
Task: Fetch value from snow_depth where reading is greater than the maximum of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084162 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, depth, lat, qc
Sensor: turbidity | fields: ts, depth, reading, type
Task: Get lon from pressure where depth exceeds the total reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084163 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, type, reading, unit
Sensor: turbidity | fields: depth, ts, value, type
Task: Get lat from sunlight where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084164 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: ts, level, lat, qc
Sensor: wind_speed | fields: qc, level, value, ts
Task: Retrieve level from sunlight with value above the SUM(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084165 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, unit, depth
Sensor: sunlight | fields: type, lat, depth, value
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084166 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, level, lat, lon
Sensor: humidity | fields: type, level, lon, qc
Task: Retrieve reading from wind_speed with depth above the AVG(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084167 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, type, reading, level
Sensor: cloud_cover | fields: unit, lat, lon, reading
Task: Fetch lon from sunlight where depth is greater than the total of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084168 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, value, level, ts
Sensor: evaporation | fields: type, reading, lat, level
Task: Retrieve lat from pressure that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084169 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lat, lon, ts
Sensor: rainfall | fields: lat, type, lon, value
Task: Fetch value from evaporation that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084170 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: depth, type, lat, value
Sensor: evaporation | fields: value, ts, type, level
Task: Fetch lat from rainfall where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084171 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, lon, depth, level
Sensor: turbidity | fields: level, qc, reading, value
Task: Retrieve lon from pressure with depth above the COUNT(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084172 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, ts, level, lat
Sensor: frost | fields: depth, ts, level, unit
Task: Retrieve lon from snow_depth with depth above the SUM(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084173 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lat, unit, reading, lon
Sensor: sunlight | fields: reading, depth, level, qc
Task: Fetch depth from humidity where depth is greater than the minimum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084174 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, value, lon, lat
Sensor: evaporation | fields: unit, ts, type, reading
Task: Get level from dew_point where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084175 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, unit, lat, qc
Sensor: air_quality | fields: lat, ts, qc, level
Task: Fetch depth from turbidity where depth is greater than the total of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084176 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lat, level, depth, ts
Sensor: soil_moisture | fields: lat, lon, level, qc
Task: Retrieve reading from pressure that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084177 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, level, lat, unit
Sensor: air_quality | fields: lat, value, depth, lon
Task: Get lon from uv_index where depth appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084178 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: value, level, depth, reading
Sensor: pressure | fields: unit, ts, depth, qc
Task: Retrieve lat from snow_depth whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084179 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, unit, value, lat
Sensor: soil_moisture | fields: lon, value, depth, lat
Task: Fetch depth from air_quality that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"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_084180 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lon, type, lat, value
Sensor: wind_speed | fields: level, value, unit, lon
Task: Retrieve value from uv_index whose ts is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084181 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lon, lat, qc, value
Sensor: wind_speed | fields: depth, lat, value, reading
Task: Retrieve lon from humidity with reading above the MIN(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084182 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: ts, qc, depth, reading
Sensor: humidity | fields: level, ts, reading, depth
Task: Get reading from dew_point where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084183 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, reading, level, type
Sensor: drought_index | fields: level, depth, reading, unit
Task: Fetch depth from cloud_cover where ts exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084184 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: qc, type, lat, ts
Sensor: evaporation | fields: qc, level, type, reading
Task: Retrieve level from air_quality whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084185 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, lon, qc, type
Sensor: turbidity | fields: type, depth, level, lat
Task: Retrieve level from dew_point whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084186 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, level, ts, lon
Sensor: turbidity | fields: ts, unit, depth, lat
Task: Get lat from rainfall where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084187 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lon, value, unit
Sensor: pressure | fields: qc, lon, value, reading
Task: Retrieve lat from cloud_cover whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084188 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, depth, ts, type
Sensor: lightning | fields: ts, lat, value, unit
Task: Get depth from air_quality where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084189 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, lon, value, lat
Sensor: air_quality | fields: qc, unit, type, depth
Task: Retrieve level from temperature whose qc is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084190 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, type, reading, unit
Sensor: evaporation | fields: qc, unit, type, lat
Task: Get depth from air_quality where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084191 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, qc, type, level
Sensor: visibility | fields: type, reading, level, lon
Task: Get depth from rainfall where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084192 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: ts, qc, lat, type
Sensor: lightning | fields: lat, lon, reading, ts
Task: Retrieve depth from pressure whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084193 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, value, level, unit
Sensor: frost | fields: unit, type, lat, ts
Task: Fetch lat from drought_index where reading is greater than the average of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084194 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, lon, reading
Sensor: wind_speed | fields: ts, level, lon, unit
Task: Fetch level from cloud_cover where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084195 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: value, reading, lat, ts
Sensor: sunlight | fields: lat, reading, qc, unit
Task: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084196 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, depth, ts, lon
Sensor: drought_index | fields: level, type, reading, qc
Task: Get depth from air_quality where reading exceeds the total value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084197 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, lon, depth, type
Sensor: cloud_cover | fields: type, level, lat, reading
Task: Fetch lon from frost that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084198 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, depth, qc, level
Sensor: evaporation | fields: value, lon, depth, type
Task: Get lon from wind_speed where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.