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: sunlight | code: stn | fields: qc, ts, type, lat
Sensor: wind_speed | fields: depth, reading, type, qc
Task: Get reading from sunlight where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066300 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, reading, depth, ts
Sensor: humidity | fields: reading, qc, lat, lon
Task: Get lon from pressure where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066301 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: depth, value, qc, lat
Sensor: sunlight | fields: reading, type, qc, unit
Task: Fetch lat from humidity where value is greater than the maximum of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066302 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, reading, lat, level
Sensor: snow_depth | fields: reading, lat, level, qc
Task: Retrieve level from evaporation that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066303 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: reading, depth, level, ts
Sensor: turbidity | fields: unit, value, qc, reading
Task: Fetch value from air_quality where depth is greater than the average of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066304 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lon, value, depth, reading
Sensor: pressure | fields: reading, lat, depth, unit
Task: Fetch depth from frost that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066305 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, reading, qc, lon
Sensor: air_quality | fields: unit, value, lon, reading
Task: Retrieve value from humidity that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066306 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: unit, type, lon, value
Sensor: temperature | fields: unit, qc, reading, type
Task: Retrieve reading from visibility with value above the COUNT(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066307 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, lon, type, unit
Sensor: cloud_cover | fields: level, lon, qc, reading
Task: Fetch lon from sunlight where value is greater than the minimum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066308 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, value, depth, lat
Sensor: rainfall | fields: type, qc, lat, unit
Task: Fetch lon from visibility where depth is greater than the average of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066309 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: value, type, qc, lon
Sensor: rainfall | fields: reading, lon, ts, lat
Task: Get level from evaporation where unit appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066310 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, level, lon, type
Sensor: temperature | fields: value, lat, qc, unit
Task: Fetch value from lightning that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066311 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, type, unit, lat
Sensor: air_quality | fields: ts, value, level, reading
Task: Retrieve reading from uv_index that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066312 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, lon, ts, lat
Sensor: humidity | fields: qc, unit, ts, lat
Task: Retrieve lon from wind_speed with value above the AVG(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066313 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: depth, lon, lat, value
Sensor: rainfall | fields: lat, qc, type, lon
Task: Fetch value from sunlight that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066314 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, lon, type, ts
Sensor: cloud_cover | fields: qc, lat, value, depth
Task: Fetch level from frost where reading is greater than the count of of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066315 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, ts, lat, depth
Sensor: wind_speed | fields: type, lon, level, lat
Task: Get level from frost where reading exceeds the minimum reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066316 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, lon, value, type
Sensor: frost | fields: depth, ts, type, qc
Task: Retrieve reading from soil_moisture with value above the MAX(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066317 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lon, ts, lat, qc
Sensor: visibility | fields: type, reading, value, level
Task: Fetch level from frost where qc exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066318 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, lon, type, lat
Sensor: drought_index | fields: depth, unit, reading, lon
Task: Get level from turbidity where value exceeds the average reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066319 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, unit, value, type
Sensor: uv_index | fields: ts, type, reading, level
Task: Retrieve lat from turbidity that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066320 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, ts, lon, unit
Sensor: evaporation | fields: type, value, reading, unit
Task: Retrieve lon from dew_point with value above the MIN(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066321 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, qc, value, lat
Sensor: soil_moisture | fields: type, qc, lon, value
Task: Get depth from visibility where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066322 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, qc, lon, type
Sensor: pressure | fields: type, qc, depth, lon
Task: Get value from humidity where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066323 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, lat, reading, level
Sensor: sunlight | fields: reading, depth, type, ts
Task: Retrieve depth from soil_moisture with reading above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066324 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, qc, type, lat
Sensor: temperature | fields: type, value, depth, ts
Task: Get lat from snow_depth where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066325 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, lon, ts, reading
Sensor: drought_index | fields: value, unit, level, qc
Task: Get reading from uv_index where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066326 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lat, qc, value, ts
Sensor: drought_index | fields: reading, lat, qc, level
Task: Fetch lat from uv_index where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066327 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: value, lat, qc, level
Sensor: wind_speed | fields: value, qc, lon, level
Task: Fetch depth from lightning where depth is greater than the minimum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066328 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: reading, lon, depth, lat
Sensor: dew_point | fields: ts, unit, lat, qc
Task: Fetch depth from turbidity where ts exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066329 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, unit, ts, type
Sensor: soil_moisture | fields: level, lat, type, ts
Task: Retrieve lon from temperature that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066330 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: type, lon, depth, unit
Sensor: humidity | fields: value, unit, qc, lat
Task: Fetch reading from air_quality where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066331 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: type, qc, lon, reading
Sensor: drought_index | fields: type, depth, qc, lon
Task: Fetch reading from dew_point that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066332 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lat, lon, depth, unit
Sensor: evaporation | fields: reading, qc, lon, unit
Task: Retrieve level from humidity that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066333 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: reading, value, depth, unit
Sensor: humidity | fields: reading, value, ts, lat
Task: Retrieve reading from pressure with value above the MAX(reading) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066334 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, reading, value, lat
Sensor: cloud_cover | fields: type, reading, lon, level
Task: Retrieve reading from evaporation with value above the AVG(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066335 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, type, ts, qc
Sensor: frost | fields: lon, type, depth, unit
Task: Fetch depth from evaporation where type exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066336 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, lat, depth
Sensor: uv_index | fields: lon, lat, depth, reading
Task: Fetch reading from visibility where ts exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066337 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, value, ts, lat
Sensor: uv_index | fields: qc, lon, reading, level
Task: Get value from cloud_cover where type appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066338 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: value, lon, level, ts
Sensor: snow_depth | fields: ts, qc, lat, depth
Task: Retrieve lon from visibility whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066339 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, reading, value, level
Sensor: snow_depth | fields: reading, value, ts, lat
Task: Retrieve value from wind_speed with value above the SUM(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066340 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, depth, level, unit
Sensor: lightning | fields: depth, type, ts, lat
Task: Fetch level from wind_speed that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066341 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: ts, reading, value, lat
Sensor: wind_speed | fields: reading, ts, type, depth
Task: Get depth from visibility where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066342 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, lon, type, qc
Sensor: wind_speed | fields: qc, unit, value, level
Task: Retrieve depth from lightning whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066343 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, value, ts, depth
Sensor: rainfall | fields: lon, ts, depth, lat
Task: Retrieve depth from air_quality with depth above the COUNT(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066344 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, unit, level, qc
Sensor: humidity | fields: type, ts, level, lat
Task: Get lon from pressure where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066345 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, value, level, type
Sensor: wind_speed | fields: reading, lat, value, lon
Task: Retrieve value from snow_depth that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066346 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: type, lon, lat, level
Sensor: dew_point | fields: qc, unit, lon, depth
Task: Fetch reading from uv_index where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066347 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lon, lat, value, reading
Sensor: evaporation | fields: unit, level, lon, depth
Task: Get level from uv_index where type appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066348 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, unit, lat, qc
Sensor: visibility | fields: reading, level, qc, lon
Task: Fetch level from uv_index where depth is greater than the maximum of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066349 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: level, ts, type, lon
Sensor: air_quality | fields: lat, reading, value, depth
Task: Get reading from lightning where reading exceeds the total depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066350 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: qc, unit, value, ts
Sensor: temperature | fields: type, unit, qc, lon
Task: Fetch value from evaporation where value is greater than the average of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066351 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lon, depth, reading
Sensor: rainfall | fields: ts, lon, depth, lat
Task: Fetch level from dew_point where qc exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066352 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, level, depth, lat
Sensor: visibility | fields: lat, reading, unit, value
Task: Retrieve reading from cloud_cover that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066353 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, lat, unit, level
Sensor: uv_index | fields: level, qc, type, unit
Task: Retrieve lon from soil_moisture whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066354 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, reading, qc, value
Sensor: visibility | fields: lat, qc, lon, level
Task: Get reading from turbidity where reading exceeds the count of value from visibility for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066355 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lat, unit, qc
Sensor: lightning | fields: depth, level, lon, qc
Task: Fetch depth from uv_index that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066356 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, level, unit, type
Sensor: snow_depth | fields: ts, depth, type, lon
Task: Get depth from visibility where depth exceeds the minimum depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066357 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, reading, lon, unit
Sensor: turbidity | fields: value, unit, ts, lat
Task: Get depth from uv_index where depth exceeds the minimum reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066358 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, unit, ts, reading
Sensor: visibility | fields: ts, lon, depth, reading
Task: Retrieve lat from humidity whose ts is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066359 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, reading, ts, unit
Sensor: drought_index | fields: reading, unit, type, ts
Task: Retrieve depth from dew_point that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066360 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, ts, unit
Sensor: snow_depth | fields: lat, type, level, value
Task: Get value from cloud_cover where ts appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066361 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, unit, level, lon
Sensor: soil_moisture | fields: qc, type, lat, unit
Task: Retrieve value from humidity with reading above the MAX(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066362 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, depth, qc, reading
Sensor: drought_index | fields: value, unit, ts, lat
Task: Fetch reading from pressure where depth is greater than the count of of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066363 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, reading, lon, lat
Sensor: turbidity | fields: depth, qc, value, lon
Task: Fetch depth from air_quality where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066364 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lat, lon, reading, value
Sensor: lightning | fields: lon, level, type, ts
Task: Fetch lat from visibility where value is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066365 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, unit, level, lon
Sensor: wind_speed | fields: qc, depth, value, type
Task: Fetch reading from humidity where value is greater than the minimum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066366 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, depth, ts, level
Sensor: frost | fields: type, reading, qc, level
Task: Fetch depth from snow_depth where unit exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066367 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: unit, depth, level, value
Sensor: rainfall | fields: reading, value, lat, ts
Task: Fetch value from frost where depth is greater than the minimum of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066368 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, lon, ts, value
Sensor: uv_index | fields: lat, type, level, reading
Task: Retrieve depth from wind_speed with value above the AVG(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066369 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, qc, ts, reading
Sensor: temperature | fields: depth, unit, level, reading
Task: Retrieve lon from sunlight whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066370 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, lon, unit, depth
Sensor: frost | fields: level, lon, value, type
Task: Fetch level from pressure where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066371 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lat, level, type, qc
Sensor: frost | fields: type, ts, reading, lon
Task: Fetch depth from lightning that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066372 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, depth, value, reading
Sensor: humidity | fields: unit, lat, depth, lon
Task: Get depth from pressure where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066373 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, qc, lon, depth
Sensor: visibility | fields: lat, unit, qc, value
Task: Fetch lat from air_quality where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066374 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, qc, lat, lon
Sensor: snow_depth | fields: depth, qc, level, reading
Task: Get value from uv_index where reading exceeds the count of reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066375 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, lat, lon
Sensor: sunlight | fields: level, type, lat, value
Task: Fetch reading from uv_index where unit exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066376 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, ts, reading, depth
Sensor: sunlight | fields: lat, qc, lon, ts
Task: Get lat from drought_index where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066377 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, type, depth, lat
Sensor: cloud_cover | fields: unit, qc, level, ts
Task: Retrieve reading from wind_speed whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066378 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, lat, lon, qc
Sensor: temperature | fields: unit, level, lat, type
Task: Get value from lightning where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066379 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lat, level, depth
Sensor: soil_moisture | fields: value, lat, depth, qc
Task: Fetch depth from frost where reading is greater than the maximum of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066380 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, depth, reading, unit
Sensor: pressure | fields: level, reading, lat, type
Task: Retrieve lon from snow_depth whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066381 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, level, qc, value
Sensor: dew_point | fields: level, unit, ts, type
Task: Get lat from lightning where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066382 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, unit, lon, level
Sensor: rainfall | fields: qc, level, lon, lat
Task: Retrieve depth from temperature that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066383 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, lat, ts, type
Sensor: uv_index | fields: level, lat, qc, reading
Task: Get level from evaporation where ts appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066384 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, type, qc, ts
Sensor: snow_depth | fields: qc, depth, type, level
Task: Retrieve depth from uv_index with depth above the AVG(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066385 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, type, depth, unit
Sensor: turbidity | fields: lat, unit, depth, reading
Task: Fetch reading from frost that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066386 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, qc, lat
Sensor: snow_depth | fields: type, lon, ts, qc
Task: Get level from evaporation where depth exceeds the minimum depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066387 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, ts, unit, depth
Sensor: turbidity | fields: lon, depth, value, level
Task: Get lat from dew_point where reading exceeds the total depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066388 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, reading, lat, level
Sensor: uv_index | fields: depth, value, lon, level
Task: Fetch depth from soil_moisture that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"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_066389 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, value, depth, level
Sensor: sunlight | fields: value, reading, lat, qc
Task: Retrieve reading from cloud_cover that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066390 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, ts, unit, depth
Sensor: drought_index | fields: type, lat, qc, level
Task: Get lat from air_quality where reading exceeds the minimum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066391 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: reading, level, type, lon
Sensor: pressure | fields: depth, ts, type, value
Task: Retrieve level from drought_index with value above the COUNT(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066392 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, lat, unit, type
Sensor: humidity | fields: qc, level, lat, reading
Task: Retrieve depth from soil_moisture with value above the MAX(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066393 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, lat, reading
Sensor: soil_moisture | fields: level, unit, lat, reading
Task: Retrieve lat from rainfall with value above the MAX(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066394 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, lat, lon, type
Sensor: evaporation | fields: unit, lat, value, level
Task: Retrieve level from drought_index whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066395 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, depth, reading, unit
Sensor: cloud_cover | fields: reading, ts, depth, type
Task: Fetch value from uv_index where depth exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066396 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: unit, lat, lon, reading
Sensor: rainfall | fields: value, type, reading, lon
Task: Fetch value from turbidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066397 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lon, unit, level, ts
Sensor: soil_moisture | fields: value, qc, level, lat
Task: Fetch lon from air_quality that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066398 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, value, type, reading
Sensor: drought_index | fields: level, lat, qc, ts
Task: Get lon from uv_index where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.