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: evaporation | code: mst | fields: ts, lat, value, lon
Sensor: frost | fields: unit, value, ts, reading
Task: Retrieve value from evaporation with reading above the COUNT(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003900 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, unit, qc, reading
Sensor: snow_depth | fields: unit, qc, value, depth
Task: Retrieve level from turbidity that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003901 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, reading, qc, level
Sensor: humidity | fields: depth, value, lat, unit
Task: Retrieve reading from wind_speed that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003902 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, lat, reading, value
Sensor: drought_index | fields: qc, reading, depth, lat
Task: Get level from sunlight where value exceeds the average depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003903 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, qc, unit, lat
Sensor: dew_point | fields: qc, reading, unit, lat
Task: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003904 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, depth, type, qc
Sensor: soil_moisture | fields: qc, unit, value, level
Task: Get value from humidity where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003905 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, qc, lon, value
Sensor: pressure | fields: ts, qc, lat, unit
Task: Retrieve level from wind_speed whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003906 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, value, ts, qc
Sensor: uv_index | fields: unit, qc, reading, lat
Task: Retrieve value from drought_index whose ts is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"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_003907 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, qc, lon, type
Sensor: humidity | fields: qc, depth, lon, type
Task: Fetch value from uv_index where value is greater than the minimum of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003908 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, type, lat, level
Sensor: frost | fields: type, level, lon, unit
Task: Get depth from wind_speed where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003909 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: depth, value, ts, unit
Sensor: cloud_cover | fields: reading, type, depth, ts
Task: Fetch lon from lightning where value is greater than the minimum of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003910 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, reading, type, level
Sensor: snow_depth | fields: qc, lat, lon, reading
Task: Get level from turbidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003911 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, lon, level, value
Sensor: air_quality | fields: lon, level, type, lat
Task: Get reading from evaporation where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003912 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, reading, value, lat
Sensor: pressure | fields: depth, reading, lon, value
Task: Fetch reading from humidity where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003913 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, qc, depth, unit
Sensor: rainfall | fields: level, type, ts, depth
Task: Get reading from pressure where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003914 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, depth, lat, qc
Sensor: uv_index | fields: lat, qc, value, ts
Task: Fetch value from cloud_cover that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003915 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, lon, lat, level
Sensor: pressure | fields: level, ts, reading, depth
Task: Get lat from air_quality where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003916 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, qc, unit, level
Sensor: wind_speed | fields: lat, reading, unit, qc
Task: Fetch value from frost that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003917 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, level, unit, ts
Sensor: sunlight | fields: lon, type, ts, value
Task: Retrieve value from wind_speed with reading above the MAX(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003918 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, lon, ts, level
Sensor: sunlight | fields: ts, unit, depth, level
Task: Fetch depth from temperature where reading is greater than the total of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003919 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, depth, qc, level
Sensor: frost | fields: depth, level, unit, qc
Task: Fetch lat from visibility where value is greater than the average of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003920 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, type, depth, reading
Sensor: wind_speed | fields: lon, reading, ts, type
Task: Fetch lat from pressure where reading is greater than the total of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003921 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, depth, lat, type
Sensor: drought_index | fields: reading, lon, depth, unit
Task: Get lon from soil_moisture where reading exceeds the minimum value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003922 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, qc, lon, ts
Sensor: rainfall | fields: value, type, ts, lat
Task: Get value from pressure where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003923 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, level, depth, type
Sensor: pressure | fields: lon, depth, value, type
Task: Retrieve reading from visibility with value above the SUM(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003924 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: ts, level, depth, lon
Sensor: evaporation | fields: reading, type, level, unit
Task: Get lat from humidity where unit appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003925 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, depth, value, ts
Sensor: evaporation | fields: ts, level, value, depth
Task: Get lat from temperature where depth exceeds the average reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003926 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lon, depth, value, level
Sensor: uv_index | fields: ts, value, lat, depth
Task: Retrieve lat from pressure whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003927 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, level, depth, lat
Sensor: humidity | fields: value, type, depth, level
Task: Fetch lon from snow_depth where reading is greater than the count of of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003928 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, lat, depth, type
Sensor: snow_depth | fields: ts, reading, type, unit
Task: Retrieve lat from soil_moisture that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003929 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, ts, reading, level
Sensor: rainfall | fields: type, level, reading, value
Task: Get lat from snow_depth where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003930 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, unit, level, type
Sensor: soil_moisture | fields: depth, reading, lon, ts
Task: Retrieve level from rainfall with reading above the MIN(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003931 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, unit, lon, type
Sensor: evaporation | fields: unit, lon, ts, depth
Task: Retrieve reading from soil_moisture whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003932 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, lon, type, ts
Sensor: wind_speed | fields: type, lat, value, unit
Task: Fetch lon from lightning where reading is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003933 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, lon, qc, type
Sensor: uv_index | fields: qc, level, lat, type
Task: Get lon from soil_moisture where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003934 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, depth, unit, ts
Sensor: wind_speed | fields: reading, lon, qc, lat
Task: Retrieve lon from frost with value above the AVG(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003935 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, type, unit, lat
Sensor: humidity | fields: ts, level, lon, qc
Task: Fetch lat from turbidity that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003936 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: value, level, depth, unit
Sensor: rainfall | fields: lat, unit, lon, reading
Task: Retrieve value from dew_point with value above the SUM(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003937 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, lon, ts, depth
Sensor: uv_index | fields: lat, value, depth, unit
Task: Fetch value from evaporation where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003938 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lon, lat, qc
Sensor: air_quality | fields: unit, depth, qc, lat
Task: Fetch reading from cloud_cover where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003939 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, type, lon, lat
Sensor: soil_moisture | fields: qc, reading, lat, ts
Task: Retrieve lon from air_quality with depth above the COUNT(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003940 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: level, lon, type, value
Sensor: evaporation | fields: ts, unit, qc, level
Task: Get depth from lightning where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003941 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, depth, level, ts
Sensor: lightning | fields: level, depth, unit, reading
Task: Fetch lon from soil_moisture that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003942 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: qc, lon, lat, ts
Sensor: snow_depth | fields: reading, qc, ts, lon
Task: Fetch value from pressure that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003943 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, qc, unit, level
Sensor: soil_moisture | fields: qc, type, depth, value
Task: Retrieve reading from snow_depth that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003944 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, ts, qc, depth
Sensor: wind_speed | fields: depth, lat, lon, unit
Task: Get lon from drought_index where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003945 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, ts, qc, lon
Sensor: soil_moisture | fields: value, qc, level, depth
Task: Get lon from temperature where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003946 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, lat, reading, qc
Sensor: lightning | fields: lat, ts, unit, qc
Task: Fetch level from soil_moisture that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003947 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, reading, ts, level
Sensor: air_quality | fields: value, reading, qc, type
Task: Fetch level from soil_moisture where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003948 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lon, lat, value
Sensor: visibility | fields: reading, unit, level, ts
Task: Retrieve lon from soil_moisture that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003949 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: depth, ts, level, lat
Sensor: soil_moisture | fields: value, level, lon, depth
Task: Get lat from dew_point where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003950 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: ts, qc, unit, type
Sensor: snow_depth | fields: depth, qc, lon, value
Task: Fetch reading from uv_index where depth is greater than the total of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003951 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, type, value, lon
Sensor: drought_index | fields: ts, level, type, unit
Task: Retrieve depth from rainfall whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003952 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, lon, value, qc
Sensor: dew_point | fields: depth, value, ts, reading
Task: Retrieve value from snow_depth with depth above the MAX(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003953 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, reading, level, value
Sensor: lightning | fields: level, value, ts, lon
Task: Fetch depth from rainfall where depth is greater than the minimum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003954 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, unit, ts, reading
Sensor: snow_depth | fields: value, ts, lon, type
Task: Get lat from turbidity where qc appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003955 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: value, lat, unit, lon
Sensor: cloud_cover | fields: lat, depth, type, level
Task: Get depth from rainfall where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003956 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, lon, type, qc
Sensor: dew_point | fields: level, ts, unit, lat
Task: Retrieve reading from humidity that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003957 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: reading, depth, lat, qc
Sensor: cloud_cover | fields: level, reading, qc, ts
Task: Fetch level from uv_index that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003958 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, type, unit, level
Sensor: frost | fields: lat, depth, lon, unit
Task: Get value from soil_moisture where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003959 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, unit, type, qc
Sensor: dew_point | fields: unit, level, depth, ts
Task: Get lon from temperature where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003960 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: unit, depth, level, ts
Sensor: rainfall | fields: value, level, lat, qc
Task: Fetch level from air_quality where type exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003961 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: value, ts, unit, depth
Sensor: turbidity | fields: qc, type, lon, reading
Task: Fetch level from rainfall where depth is greater than the total of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003962 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, level, qc, type
Sensor: soil_moisture | fields: lat, qc, depth, level
Task: Get lat from dew_point where depth exceeds the total value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003963 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, lat, qc, depth
Sensor: cloud_cover | fields: value, ts, level, depth
Task: Get level from temperature where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003964 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, unit, lon, ts
Sensor: soil_moisture | fields: reading, value, depth, qc
Task: Get level from sunlight where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003965 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: type, lat, qc, value
Sensor: pressure | fields: qc, ts, level, lat
Task: Retrieve lon from sunlight with value above the SUM(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003966 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, level, reading, lat
Sensor: visibility | fields: reading, qc, type, unit
Task: Fetch level from temperature that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003967 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, level, ts, value
Sensor: frost | fields: level, lon, depth, qc
Task: Fetch lon from dew_point where reading is greater than the maximum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003968 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, depth, lon, qc
Sensor: evaporation | fields: level, qc, reading, depth
Task: Fetch lat from cloud_cover where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003969 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lon, type, level
Sensor: snow_depth | fields: unit, lon, value, ts
Task: Fetch level from evaporation where type exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003970 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, value, type, lat
Sensor: drought_index | fields: type, level, reading, lon
Task: Get lat from sunlight where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003971 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, value, level, qc
Sensor: uv_index | fields: level, type, value, ts
Task: Retrieve lon from cloud_cover whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003972 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, qc, lat, type
Sensor: uv_index | fields: lon, qc, type, lat
Task: Retrieve lat from wind_speed whose ts is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003973 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, lat, value, lon
Sensor: pressure | fields: lon, depth, reading, unit
Task: Fetch lat from wind_speed that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003974 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, ts, reading, value
Sensor: drought_index | fields: unit, qc, type, reading
Task: Retrieve lon from temperature whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003975 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, depth, level, lat
Sensor: lightning | fields: value, lat, level, reading
Task: Get level from pressure where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003976 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, ts, level, lat
Sensor: air_quality | fields: type, lon, ts, qc
Task: Get lat from sunlight where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003977 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, lon, type, ts
Sensor: frost | fields: type, unit, lat, value
Task: Fetch lon from pressure that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003978 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lat, depth, unit, ts
Sensor: temperature | fields: type, level, lat, value
Task: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003979 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, ts, level, type
Sensor: frost | fields: type, qc, ts, lon
Task: Retrieve lon from air_quality with depth above the MAX(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003980 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, unit, depth, qc
Sensor: pressure | fields: qc, ts, lon, lat
Task: Fetch value from soil_moisture where value is greater than the minimum of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003981 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, depth, level, qc
Sensor: sunlight | fields: value, level, type, qc
Task: Fetch lon from rainfall that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003982 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, level, unit, qc
Sensor: soil_moisture | fields: value, lon, ts, reading
Task: Get value from frost where value exceeds the total depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003983 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, ts, level, reading
Sensor: turbidity | fields: type, reading, level, value
Task: Retrieve depth from drought_index with reading above the COUNT(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003984 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, type, reading, lat
Sensor: visibility | fields: lon, level, reading, type
Task: Fetch lon from sunlight where depth is greater than the count of of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003985 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: depth, type, qc, lon
Sensor: evaporation | fields: type, value, depth, unit
Task: Retrieve level from lightning that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003986 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, lat, depth, lon
Sensor: pressure | fields: ts, qc, lat, value
Task: Retrieve value from wind_speed that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003987 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, lat, lon, unit
Sensor: drought_index | fields: value, unit, lat, depth
Task: Retrieve lon from wind_speed whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003988 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, ts, lat, unit
Sensor: temperature | fields: lon, ts, depth, unit
Task: Get value from evaporation where ts appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003989 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, depth, value, ts
Sensor: sunlight | fields: reading, type, qc, depth
Task: Retrieve depth from rainfall that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003990 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lat, value, depth
Sensor: lightning | fields: lat, reading, type, ts
Task: Get reading from frost where reading exceeds the total depth from lightning for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003991 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, reading, lon, unit
Sensor: air_quality | fields: lat, depth, lon, value
Task: Get lon from evaporation where value exceeds the count of value from air_quality for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003992 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: type, value, level, ts
Sensor: pressure | fields: level, reading, ts, unit
Task: Get reading from uv_index where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003993 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, lat, lon, unit
Sensor: wind_speed | fields: lon, depth, ts, qc
Task: Fetch level from rainfall that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003994 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, value, level, lat
Sensor: drought_index | fields: lon, type, depth, value
Task: Fetch value from visibility that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003995 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, type, unit, level
Sensor: humidity | fields: reading, lon, value, lat
Task: Get value from cloud_cover where reading exceeds the average value from humidity for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003996 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, lon, type, unit
Sensor: dew_point | fields: value, unit, lat, depth
Task: Retrieve reading from temperature whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003997 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, value, type, unit
Sensor: sunlight | fields: lon, lat, type, reading
Task: Retrieve reading from pressure with reading above the COUNT(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003998 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, qc, value, unit
Sensor: soil_moisture | fields: lon, type, qc, reading
Task: Retrieve lon from wind_speed that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.