variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, ts, level, lon
Sensor: humidity | fields: value, reading, qc, unit
Task: Fetch depth from cloud_cover where value is greater than the maximum of depth in humidity for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062900 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, value, type, ts
Sensor: air_quality | fields: reading, lon, lat, ts
Task: Fetch value from drought_index where reading is greater than the minimum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062901 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, lat, reading, depth
Sensor: cloud_cover | fields: lon, lat, reading, type
Task: Get reading from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062902 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: unit, ts, level, value
Sensor: drought_index | fields: ts, lon, reading, depth
Task: Retrieve level from rainfall with depth above the SUM(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062903 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, lon, level, reading
Sensor: soil_moisture | fields: qc, depth, lon, lat
Task: Fetch value from dew_point that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062904 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, ts, qc, type
Sensor: air_quality | fields: qc, ts, lon, lat
Task: Retrieve value from dew_point whose ts is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062905 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: unit, lon, value, reading
Sensor: lightning | fields: lon, type, value, lat
Task: Get lon from dew_point where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062906 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, type, level, qc
Sensor: air_quality | fields: level, ts, value, unit
Task: Fetch depth from turbidity where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
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": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062907 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: value, unit, lat, level
Sensor: wind_speed | fields: lon, level, depth, unit
Task: Fetch lat from sunlight that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062908 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, type, level, unit
Sensor: rainfall | fields: unit, lat, reading, type
Task: Get depth from uv_index where reading exceeds the average depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062909 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, value, unit, reading
Sensor: humidity | fields: type, value, depth, reading
Task: Fetch level from cloud_cover where qc exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062910 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: depth, ts, qc, reading
Sensor: drought_index | fields: lat, lon, type, level
Task: Retrieve depth from visibility whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062911 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, ts, level, lat
Sensor: temperature | fields: ts, reading, type, level
Task: Retrieve depth from snow_depth whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062912 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: qc, value, lon, lat
Sensor: evaporation | fields: qc, lon, unit, type
Task: Retrieve reading from turbidity whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062913 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, type, depth, qc
Sensor: soil_moisture | fields: type, lat, ts, reading
Task: Fetch lat from rainfall that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062914 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: reading, level, type, unit
Sensor: pressure | fields: level, qc, lon, lat
Task: Fetch reading from lightning where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062915 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, level, lon, unit
Sensor: lightning | fields: reading, level, unit, lon
Task: Fetch reading from soil_moisture where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062916 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, level, type, ts
Sensor: cloud_cover | fields: reading, depth, level, qc
Task: Retrieve reading from wind_speed with value above the COUNT(reading) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062917 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, lon, reading, ts
Sensor: uv_index | fields: reading, depth, lat, type
Task: Fetch level from visibility that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062918 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, value, unit, lat
Sensor: uv_index | fields: lat, ts, lon, unit
Task: Get depth from pressure where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062919 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, reading, level, unit
Sensor: rainfall | fields: lat, level, unit, qc
Task: Fetch lat 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="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062920 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, value, unit, reading
Sensor: visibility | fields: value, reading, type, depth
Task: Fetch depth from uv_index where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062921 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, lat, depth, type
Sensor: humidity | fields: lon, level, qc, lat
Task: Retrieve level from air_quality whose ts is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062922 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, reading, qc, lat
Sensor: cloud_cover | fields: value, qc, lat, depth
Task: Get depth from rainfall where depth exceeds the count of value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062923 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, level, depth, lon
Sensor: sunlight | fields: ts, value, type, depth
Task: Retrieve depth from drought_index with depth above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062924 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, lon, reading, unit
Sensor: wind_speed | fields: unit, type, qc, reading
Task: Get reading from snow_depth where reading exceeds the count of value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062925 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, qc, level, type
Sensor: humidity | fields: lat, lon, reading, level
Task: Get level from drought_index where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062926 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, unit, ts, level
Sensor: cloud_cover | fields: unit, type, lon, level
Task: Retrieve level from temperature whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062927 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lon, qc, level, unit
Sensor: turbidity | fields: unit, lon, level, qc
Task: Get level from drought_index where depth exceeds the maximum depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062928 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, type, level, lat
Sensor: drought_index | fields: ts, lon, reading, type
Task: Retrieve level from pressure with depth above the MIN(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062929 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: reading, level, qc, ts
Sensor: turbidity | fields: type, lon, lat, unit
Task: Fetch level from sunlight that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062930 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, depth, level, type
Sensor: wind_speed | fields: value, unit, reading, depth
Task: Fetch lon from soil_moisture that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062931 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, qc, lon, value
Sensor: drought_index | fields: level, lat, reading, unit
Task: Retrieve reading from snow_depth whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062932 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, level, value, ts
Sensor: soil_moisture | fields: level, reading, type, ts
Task: Get lat from snow_depth where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062933 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, qc, level, unit
Sensor: soil_moisture | fields: value, lat, level, ts
Task: Fetch level from humidity that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062934 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: reading, type, depth, lon
Sensor: air_quality | fields: type, unit, lat, ts
Task: Retrieve level from lightning that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062935 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lon, ts, value, depth
Sensor: pressure | fields: value, unit, type, depth
Task: Retrieve depth from uv_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062936 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, lon, ts, unit
Sensor: snow_depth | fields: qc, value, lat, level
Task: Get lon from temperature where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062937 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, value, depth, level
Sensor: sunlight | fields: lat, qc, reading, type
Task: Retrieve level from lightning with depth above the MIN(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062938 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: reading, depth, ts, type
Sensor: visibility | fields: value, lat, ts, unit
Task: Get lon from frost where depth exceeds the total reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062939 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, depth, lon, lat
Sensor: snow_depth | fields: lon, type, qc, depth
Task: Get lon from lightning where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062940 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, type, lon, value
Sensor: evaporation | fields: qc, ts, unit, value
Task: Fetch lat from drought_index that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062941 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, ts, level, qc
Sensor: drought_index | fields: qc, unit, lon, lat
Task: Fetch lat from soil_moisture that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062942 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, lat, type, ts
Sensor: temperature | fields: lon, type, unit, level
Task: Retrieve level from soil_moisture that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062943 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, unit, value, ts
Sensor: air_quality | fields: depth, type, ts, lat
Task: Get value from wind_speed where reading exceeds the average reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062944 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, reading, ts, type
Sensor: uv_index | fields: reading, qc, unit, lat
Task: Retrieve reading from snow_depth that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062945 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, lon, value, reading
Sensor: visibility | fields: depth, ts, level, unit
Task: Retrieve lon from drought_index whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062946 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, lat, ts, value
Sensor: cloud_cover | fields: reading, ts, lat, value
Task: Retrieve depth from soil_moisture with depth above the SUM(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062947 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, unit, ts, reading
Sensor: rainfall | fields: qc, ts, unit, lat
Task: Retrieve value from turbidity that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062948 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, level, lat, reading
Sensor: rainfall | fields: value, unit, lon, reading
Task: Get value from dew_point where value exceeds the total reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062949 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, level, depth, value
Sensor: visibility | fields: level, reading, depth, qc
Task: Get lat from pressure where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062950 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, reading, value, unit
Sensor: humidity | fields: unit, ts, level, lat
Task: Get lon from snow_depth where value exceeds the minimum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062951 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: value, depth, level, qc
Sensor: temperature | fields: type, qc, value, depth
Task: Fetch lon from uv_index where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062952 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, value, type, qc
Sensor: temperature | fields: depth, unit, value, level
Task: Retrieve lat from soil_moisture that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062953 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: type, value, lon, depth
Sensor: rainfall | fields: ts, depth, type, level
Task: Retrieve depth from sunlight that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062954 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: type, unit, reading, ts
Sensor: lightning | fields: ts, value, level, depth
Task: Retrieve lon from humidity with value above the SUM(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062955 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, lat, type, unit
Sensor: visibility | fields: level, lon, qc, reading
Task: Get depth from air_quality where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062956 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: reading, qc, unit, value
Sensor: turbidity | fields: type, lon, lat, qc
Task: Get depth from air_quality where depth appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062957 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, type, qc, reading
Sensor: cloud_cover | fields: unit, lat, qc, depth
Task: Get value from wind_speed where depth exceeds the minimum depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062958 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, value, depth, level
Sensor: humidity | fields: level, lon, unit, qc
Task: Retrieve reading from pressure with value above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062959 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, value, type
Sensor: rainfall | fields: lon, qc, depth, level
Task: Fetch level from soil_moisture where value is greater than the minimum of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062960 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: level, ts, depth, qc
Sensor: drought_index | fields: unit, value, level, ts
Task: Retrieve value from turbidity whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062961 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: type, level, lat, ts
Sensor: humidity | fields: type, lat, ts, qc
Task: Retrieve reading from sunlight that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062962 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, ts, type, value
Sensor: air_quality | fields: ts, type, qc, reading
Task: Fetch level from drought_index where value is greater than the total of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062963 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lat, qc, value, depth
Sensor: snow_depth | fields: lat, level, lon, unit
Task: Get value from visibility where value exceeds the minimum reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062964 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, unit, lat, reading
Sensor: turbidity | fields: depth, lon, level, lat
Task: Get depth from soil_moisture where depth exceeds the count of reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062965 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: unit, qc, level, lon
Sensor: lightning | fields: level, lon, reading, lat
Task: Retrieve depth from visibility that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062966 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, lat, level, value
Sensor: lightning | fields: depth, type, lat, lon
Task: Fetch reading from visibility where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062967 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lon, level, depth
Sensor: frost | fields: reading, qc, lat, level
Task: Fetch reading from soil_moisture that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062968 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lon, level, depth
Sensor: uv_index | fields: type, lon, level, value
Task: Fetch depth from rainfall where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062969 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, ts, lon, type
Sensor: turbidity | fields: lat, type, reading, value
Task: Retrieve level from sunlight that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062970 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, qc, depth, level
Sensor: lightning | fields: depth, value, level, type
Task: Get depth from pressure where value exceeds the maximum depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062971 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, lon, reading, depth
Sensor: pressure | fields: depth, value, unit, type
Task: Fetch depth from dew_point where qc exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062972 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: ts, level, lat, value
Sensor: uv_index | fields: unit, reading, value, lon
Task: Get value from frost where ts appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062973 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, level, lat, value
Sensor: turbidity | fields: lat, value, qc, level
Task: Retrieve depth from frost with reading above the COUNT(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062974 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, depth, lon, level
Sensor: rainfall | fields: qc, level, reading, unit
Task: Fetch reading from visibility where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062975 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: value, depth, qc, lon
Sensor: humidity | fields: level, unit, qc, lon
Task: Retrieve level from dew_point that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062976 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: level, lon, depth, qc
Sensor: uv_index | fields: ts, lon, reading, qc
Task: Retrieve level from dew_point whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062977 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, value, reading, depth
Sensor: soil_moisture | fields: ts, depth, qc, lon
Task: Retrieve value from temperature whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062978 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, value, depth, qc
Sensor: uv_index | fields: reading, ts, level, unit
Task: Get lat from dew_point where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062979 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, depth, unit, level
Sensor: cloud_cover | fields: ts, type, depth, value
Task: Retrieve value from uv_index whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062980 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: unit, level, depth, type
Sensor: sunlight | fields: value, qc, ts, lon
Task: Fetch depth from humidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062981 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, type, ts, reading
Sensor: snow_depth | fields: lat, value, reading, depth
Task: Fetch value from uv_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062982 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, ts, lat, value
Sensor: snow_depth | fields: ts, depth, value, qc
Task: Get reading from temperature where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062983 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, value, unit, lat
Sensor: turbidity | fields: ts, reading, level, lon
Task: Retrieve reading from visibility with depth above the SUM(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062984 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, lat, value, type
Sensor: soil_moisture | fields: ts, lat, qc, depth
Task: Fetch level from rainfall that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062985 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, value, lat, unit
Sensor: sunlight | fields: depth, lat, level, qc
Task: Get lat from visibility where value exceeds the average value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062986 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, reading, lon, depth
Sensor: drought_index | fields: lon, depth, qc, reading
Task: Get value from evaporation where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062987 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, qc, ts, level
Sensor: wind_speed | fields: depth, ts, lat, type
Task: Get value from frost where value exceeds the total value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062988 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: value, lat, ts, lon
Sensor: uv_index | fields: lat, type, reading, level
Task: Get lat from snow_depth where reading exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062989 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, depth, lat, type
Sensor: temperature | fields: lon, lat, level, type
Task: Fetch depth from pressure where depth is greater than the count of of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062990 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, qc, unit, depth
Sensor: lightning | fields: qc, unit, type, lon
Task: Fetch lat from visibility where reading is greater than the maximum of value in lightning for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"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_062991 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, reading, depth, value
Sensor: temperature | fields: type, value, unit, lat
Task: Get level from soil_moisture where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062992 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, value, reading, type
Sensor: soil_moisture | fields: ts, unit, depth, type
Task: Retrieve value from visibility with reading above the COUNT(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062993 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, depth, unit, ts
Sensor: visibility | fields: ts, lat, type, value
Task: Retrieve value from evaporation with reading above the MIN(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062994 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, reading, type, ts
Sensor: turbidity | fields: level, reading, lon, lat
Task: Fetch lon from rainfall that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062995 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, qc, value, lon
Sensor: dew_point | fields: type, lat, ts, lon
Task: Fetch lat from pressure where type exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062996 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lon, ts, unit, depth
Sensor: soil_moisture | fields: lat, qc, unit, level
Task: Get lat from dew_point where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062997 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, lat, value, unit
Sensor: drought_index | fields: unit, qc, level, reading
Task: Fetch lat from visibility where depth exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062998 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, type, ts, lat
Sensor: turbidity | fields: lon, level, lat, value
Task: Retrieve level from rainfall whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.