variant
stringclasses
3 values
prompt
stringlengths
216
286
query
stringlengths
168
299
metadata
unknown
id
stringlengths
28
28
split
stringclasses
1 value
v2
Sensor network script: Node: pressure | code: gst | fields: value, depth, ts, lat Sensor: soil_moisture | fields: ts, unit, lon, level Task: Get lat from pressure where a corresponding entry exists in soil_moisture with the same unit. Script:
readings = fetch( node=Node("pressure", code="gst"), filter=has_match( source=Probe("soil_moisture", code="grvl"), match="unit", ), output="lat", )
{ "outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000400
train
v1
Sensor network script: Node: snow_depth | code: mst | fields: reading, qc, unit, lat Sensor: cloud_cover | fields: unit, value, ts, lat Task: Get lat from snow_depth where ts appears in cloud_cover readings with matching depth. Script:
readings = fetch( node=Node("snow_depth", code="mst"), filter=set_member( field="ts", source=Probe("cloud_cover", code="nbl"), match="depth", ), output="lat", )
{ "outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000401
train
v3
Sensor network script: Node: air_quality | code: gst | fields: value, unit, ts, level Sensor: evaporation | fields: ts, lat, qc, depth Task: Fetch depth from air_quality where reading is greater than the maximum of reading in evaporation for matching type. Script:
readings = fetch( node=Node("air_quality", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MAX", "reading", source=Probe("evaporation", code="evp"), match="type"), ), output="depth", )
{ "outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000402
train
v3
Sensor network script: Node: rainfall | code: gst | fields: lat, unit, ts, qc Sensor: humidity | fields: lat, level, unit, reading Task: Retrieve depth from rainfall with value above the MIN(reading) of humidity readings sharing the same ts. Script:
readings = fetch( node=Node("rainfall", code="gst"), filter=exceeds( field="value", threshold=aggregate("MIN", "reading", source=Probe("humidity", code="hgr"), match="ts"), ), output="depth", )
{ "outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000403
train
v3
Sensor network script: Node: air_quality | code: gst | fields: depth, lat, value, qc Sensor: cloud_cover | fields: ts, level, lat, value Task: Retrieve lon from air_quality with reading above the COUNT(depth) of cloud_cover readings sharing the same type. Script:
readings = fetch( node=Node("air_quality", code="gst"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "depth", source=Probe("cloud_cover", code="nbl"), match="type"), ), output="lon", )
{ "outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000404
train
v2
Sensor network script: Node: sunlight | code: clr | fields: lon, depth, reading, level Sensor: cloud_cover | fields: lon, value, ts, depth Task: Fetch reading from sunlight that have at least one corresponding cloud_cover measurement for the same type. Script:
readings = fetch( node=Node("sunlight", code="clr"), filter=has_match( source=Probe("cloud_cover", code="nbl"), match="type", ), output="reading", )
{ "outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000405
train
v2
Sensor network script: Node: snow_depth | code: gst | fields: unit, lat, value, level Sensor: pressure | fields: unit, ts, lat, level Task: Get lon from snow_depth where a corresponding entry exists in pressure with the same depth. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=has_match( source=Probe("pressure", code="mbl"), match="depth", ), output="lon", )
{ "outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000406
train
v3
Sensor network script: Node: uv_index | code: clr | fields: reading, type, qc, ts Sensor: turbidity | fields: lat, qc, type, unit Task: Get value from uv_index where depth exceeds the maximum value from turbidity for the same qc. Script:
readings = fetch( node=Node("uv_index", code="clr"), filter=exceeds( field="depth", threshold=aggregate("MAX", "value", source=Probe("turbidity", code="ftu"), match="qc"), ), output="value", )
{ "outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000407
train
v2
Sensor network script: Node: wind_speed | code: thr | fields: lat, unit, value, ts Sensor: air_quality | fields: depth, type, level, lat Task: Get lon from wind_speed where a corresponding entry exists in air_quality with the same qc. Script:
readings = fetch( node=Node("wind_speed", code="thr"), filter=has_match( source=Probe("air_quality", code="prt"), match="qc", ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000408
train
v3
Sensor network script: Node: rainfall | code: ref | fields: value, level, ts, depth Sensor: uv_index | fields: unit, ts, reading, qc Task: Retrieve value from rainfall with depth above the MIN(reading) of uv_index readings sharing the same ts. Script:
readings = fetch( node=Node("rainfall", code="ref"), filter=exceeds( field="depth", threshold=aggregate("MIN", "reading", source=Probe("uv_index", code="flx"), match="ts"), ), output="value", )
{ "outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000409
train
v1
Sensor network script: Node: drought_index | code: gst | fields: unit, lat, depth, ts Sensor: turbidity | fields: value, reading, type, lon Task: Get value from drought_index where type appears in turbidity readings with matching type. Script:
readings = fetch( node=Node("drought_index", code="gst"), filter=set_member( field="type", source=Probe("turbidity", code="ftu"), match="type", ), output="value", )
{ "outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000410
train
v2
Sensor network script: Node: cloud_cover | code: hub | fields: lon, type, level, depth Sensor: lightning | fields: reading, level, lat, unit Task: Get value from cloud_cover where a corresponding entry exists in lightning with the same unit. Script:
readings = fetch( node=Node("cloud_cover", code="hub"), filter=has_match( source=Probe("lightning", code="tnd"), match="unit", ), output="value", )
{ "outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000411
train
v3
Sensor network script: Node: snow_depth | code: clr | fields: lat, unit, value, type Sensor: pressure | fields: value, lat, depth, unit Task: Fetch value from snow_depth where depth is greater than the maximum of depth in pressure for matching qc. Script:
readings = fetch( node=Node("snow_depth", code="clr"), filter=exceeds( field="depth", threshold=aggregate("MAX", "depth", source=Probe("pressure", code="mbl"), match="qc"), ), output="value", )
{ "outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000412
train
v1
Sensor network script: Node: rainfall | code: clr | fields: lon, type, reading, qc Sensor: uv_index | fields: qc, unit, depth, lat Task: Fetch lon from rainfall where depth exists in uv_index sensor data for the same qc. Script:
readings = fetch( node=Node("rainfall", code="clr"), filter=set_member( field="depth", source=Probe("uv_index", code="flx"), match="qc", ), output="lon", )
{ "outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000413
train
v3
Sensor network script: Node: uv_index | code: thr | fields: qc, level, lon, value Sensor: dew_point | fields: type, unit, level, reading Task: Fetch lon from uv_index where value is greater than the maximum of value in dew_point for matching type. Script:
readings = fetch( node=Node("uv_index", code="thr"), filter=exceeds( field="value", threshold=aggregate("MAX", "value", source=Probe("dew_point", code="cnd"), match="type"), ), output="lon", )
{ "outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000414
train
v2
Sensor network script: Node: sunlight | code: thr | fields: lon, type, value, ts Sensor: visibility | fields: lon, type, level, reading Task: Retrieve lat from sunlight that have at least one matching reading in visibility sharing the same ts. Script:
readings = fetch( node=Node("sunlight", code="thr"), filter=has_match( source=Probe("visibility", code="clr"), match="ts", ), output="lat", )
{ "outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000415
train
v2
Sensor network script: Node: temperature | code: ref | fields: level, type, reading, qc Sensor: turbidity | fields: ts, unit, lon, depth Task: Retrieve level from temperature that have at least one matching reading in turbidity sharing the same depth. Script:
readings = fetch( node=Node("temperature", code="ref"), filter=has_match( source=Probe("turbidity", code="ftu"), match="depth", ), output="level", )
{ "outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000416
train
v1
Sensor network script: Node: air_quality | code: gst | fields: ts, reading, level, depth Sensor: frost | fields: lat, depth, type, level Task: Retrieve reading from air_quality whose unit is found in frost records where unit matches the outer node. Script:
readings = fetch( node=Node("air_quality", code="gst"), filter=set_member( field="unit", source=Probe("frost", code="frs"), match="unit", ), output="reading", )
{ "outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000417
train
v1
Sensor network script: Node: wind_speed | code: clr | fields: ts, value, qc, unit Sensor: air_quality | fields: level, reading, value, type Task: Fetch level from wind_speed where type exists in air_quality sensor data for the same type. Script:
readings = fetch( node=Node("wind_speed", code="clr"), filter=set_member( field="type", source=Probe("air_quality", code="prt"), match="type", ), output="level", )
{ "outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000418
train
v2
Sensor network script: Node: temperature | code: clr | fields: depth, ts, level, lon Sensor: pressure | fields: unit, lon, value, lat Task: Get depth from temperature where a corresponding entry exists in pressure with the same depth. Script:
readings = fetch( node=Node("temperature", code="clr"), filter=has_match( source=Probe("pressure", code="mbl"), match="depth", ), output="depth", )
{ "outer_table": "temperature", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000419
train
v2
Sensor network script: Node: frost | code: hub | fields: reading, ts, lon, value Sensor: evaporation | fields: level, ts, lon, unit Task: Get value from frost where a corresponding entry exists in evaporation with the same type. Script:
readings = fetch( node=Node("frost", code="hub"), filter=has_match( source=Probe("evaporation", code="evp"), match="type", ), output="value", )
{ "outer_table": "frost", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000420
train
v2
Sensor network script: Node: turbidity | code: clr | fields: lat, value, qc, lon Sensor: evaporation | fields: ts, lon, unit, lat Task: Retrieve depth from turbidity that have at least one matching reading in evaporation sharing the same depth. Script:
readings = fetch( node=Node("turbidity", code="clr"), filter=has_match( source=Probe("evaporation", code="evp"), match="depth", ), output="depth", )
{ "outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000421
train
v3
Sensor network script: Node: cloud_cover | code: ref | fields: lat, lon, type, level Sensor: frost | fields: depth, unit, lat, value Task: Fetch value from cloud_cover where value is greater than the count of of reading in frost for matching qc. Script:
readings = fetch( node=Node("cloud_cover", code="ref"), filter=exceeds( field="value", threshold=aggregate("COUNT", "reading", source=Probe("frost", code="frs"), match="qc"), ), output="value", )
{ "outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000422
train
v1
Sensor network script: Node: visibility | code: prt | fields: level, unit, lat, value Sensor: cloud_cover | fields: value, unit, lon, level Task: Retrieve lat from visibility whose depth is found in cloud_cover records where unit matches the outer node. Script:
readings = fetch( node=Node("visibility", code="prt"), filter=set_member( field="depth", source=Probe("cloud_cover", code="nbl"), match="unit", ), output="lat", )
{ "outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000423
train
v3
Sensor network script: Node: rainfall | code: hub | fields: ts, lat, qc, unit Sensor: visibility | fields: unit, depth, level, lat Task: Get level from rainfall where depth exceeds the minimum value from visibility for the same ts. Script:
readings = fetch( node=Node("rainfall", code="hub"), filter=exceeds( field="depth", threshold=aggregate("MIN", "value", source=Probe("visibility", code="clr"), match="ts"), ), output="level", )
{ "outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000424
train
v2
Sensor network script: Node: visibility | code: ref | fields: qc, value, reading, lon Sensor: frost | fields: type, depth, lon, ts Task: Fetch lon from visibility that have at least one corresponding frost measurement for the same unit. Script:
readings = fetch( node=Node("visibility", code="ref"), filter=has_match( source=Probe("frost", code="frs"), match="unit", ), output="lon", )
{ "outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000425
train
v3
Sensor network script: Node: soil_moisture | code: mst | fields: reading, level, depth, ts Sensor: visibility | fields: unit, level, qc, type Task: Fetch value from soil_moisture where depth is greater than the minimum of depth in visibility for matching qc. Script:
readings = fetch( node=Node("soil_moisture", code="mst"), filter=exceeds( field="depth", threshold=aggregate("MIN", "depth", source=Probe("visibility", code="clr"), match="qc"), ), output="value", )
{ "outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000426
train
v2
Sensor network script: Node: air_quality | code: clr | fields: value, depth, type, reading Sensor: lightning | fields: lat, level, qc, type Task: Get reading from air_quality where a corresponding entry exists in lightning with the same depth. Script:
readings = fetch( node=Node("air_quality", code="clr"), filter=has_match( source=Probe("lightning", code="tnd"), match="depth", ), output="reading", )
{ "outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000427
train
v3
Sensor network script: Node: sunlight | code: thr | fields: lon, unit, value, reading Sensor: frost | fields: qc, lat, value, depth Task: Fetch lat from sunlight where reading is greater than the count of of value in frost for matching depth. Script:
readings = fetch( node=Node("sunlight", code="thr"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "value", source=Probe("frost", code="frs"), match="depth"), ), output="lat", )
{ "outer_table": "sunlight", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000428
train
v2
Sensor network script: Node: snow_depth | code: gst | fields: type, ts, lat, qc Sensor: pressure | fields: ts, type, qc, level Task: Fetch reading from snow_depth that have at least one corresponding pressure measurement for the same qc. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=has_match( source=Probe("pressure", code="mbl"), match="qc", ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000429
train
v1
Sensor network script: Node: humidity | code: hub | fields: level, lat, unit, type Sensor: sunlight | fields: unit, level, depth, reading Task: Retrieve lat from humidity whose ts is found in sunlight records where ts matches the outer node. Script:
readings = fetch( node=Node("humidity", code="hub"), filter=set_member( field="ts", source=Probe("sunlight", code="brt"), match="ts", ), output="lat", )
{ "outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000430
train
v3
Sensor network script: Node: wind_speed | code: ref | fields: unit, type, depth, reading Sensor: turbidity | fields: unit, type, reading, depth Task: Retrieve lon from wind_speed with value above the MIN(reading) of turbidity readings sharing the same type. Script:
readings = fetch( node=Node("wind_speed", code="ref"), filter=exceeds( field="value", threshold=aggregate("MIN", "reading", source=Probe("turbidity", code="ftu"), match="type"), ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000431
train
v3
Sensor network script: Node: snow_depth | code: hub | fields: reading, value, depth, lat Sensor: dew_point | fields: value, qc, level, ts Task: Retrieve reading from snow_depth with reading above the SUM(reading) of dew_point readings sharing the same depth. Script:
readings = fetch( node=Node("snow_depth", code="hub"), filter=exceeds( field="reading", threshold=aggregate("SUM", "reading", source=Probe("dew_point", code="cnd"), match="depth"), ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000432
train
v1
Sensor network script: Node: rainfall | code: stn | fields: reading, type, unit, lon Sensor: air_quality | fields: level, depth, qc, type Task: Retrieve lon from rainfall whose unit is found in air_quality records where ts matches the outer node. Script:
readings = fetch( node=Node("rainfall", code="stn"), filter=set_member( field="unit", source=Probe("air_quality", code="prt"), match="ts", ), output="lon", )
{ "outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000433
train
v3
Sensor network script: Node: rainfall | code: ref | fields: type, lon, unit, lat Sensor: dew_point | fields: level, value, ts, unit Task: Retrieve reading from rainfall with depth above the AVG(depth) of dew_point readings sharing the same depth. Script:
readings = fetch( node=Node("rainfall", code="ref"), filter=exceeds( field="depth", threshold=aggregate("AVG", "depth", source=Probe("dew_point", code="cnd"), match="depth"), ), output="reading", )
{ "outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000434
train
v3
Sensor network script: Node: snow_depth | code: gst | fields: lat, level, type, unit Sensor: frost | fields: unit, value, depth, level Task: Get reading from snow_depth where value exceeds the count of reading from frost for the same qc. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=exceeds( field="value", threshold=aggregate("COUNT", "reading", source=Probe("frost", code="frs"), match="qc"), ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000435
train
v3
Sensor network script: Node: sunlight | code: ref | fields: lat, type, unit, ts Sensor: visibility | fields: type, value, ts, unit Task: Retrieve value from sunlight with value above the COUNT(value) of visibility readings sharing the same depth. Script:
readings = fetch( node=Node("sunlight", code="ref"), filter=exceeds( field="value", threshold=aggregate("COUNT", "value", source=Probe("visibility", code="clr"), match="depth"), ), output="value", )
{ "outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000436
train
v2
Sensor network script: Node: pressure | code: thr | fields: ts, unit, lon, value Sensor: drought_index | fields: level, unit, lat, qc Task: Get lon from pressure where a corresponding entry exists in drought_index with the same depth. Script:
readings = fetch( node=Node("pressure", code="thr"), filter=has_match( source=Probe("drought_index", code="drt"), match="depth", ), output="lon", )
{ "outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000437
train
v1
Sensor network script: Node: dew_point | code: thr | fields: level, depth, reading, qc Sensor: air_quality | fields: value, depth, unit, ts Task: Retrieve value from dew_point whose unit is found in air_quality records where depth matches the outer node. Script:
readings = fetch( node=Node("dew_point", code="thr"), filter=set_member( field="unit", source=Probe("air_quality", code="prt"), match="depth", ), output="value", )
{ "outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000438
train
v1
Sensor network script: Node: cloud_cover | code: ref | fields: lat, lon, value, reading Sensor: humidity | fields: value, qc, lat, depth Task: Get value from cloud_cover where type appears in humidity readings with matching unit. Script:
readings = fetch( node=Node("cloud_cover", code="ref"), filter=set_member( field="type", source=Probe("humidity", code="hgr"), match="unit", ), output="value", )
{ "outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000439
train
v3
Sensor network script: Node: evaporation | code: ref | fields: ts, unit, qc, value Sensor: visibility | fields: lon, ts, value, type Task: Get lat from evaporation where depth exceeds the count of value from visibility for the same unit. Script:
readings = fetch( node=Node("evaporation", code="ref"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("visibility", code="clr"), match="unit"), ), output="lat", )
{ "outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000440
train
v1
Sensor network script: Node: lightning | code: prt | fields: reading, type, unit, level Sensor: visibility | fields: unit, qc, ts, depth Task: Get depth from lightning where ts appears in visibility readings with matching qc. Script:
readings = fetch( node=Node("lightning", code="prt"), filter=set_member( field="ts", source=Probe("visibility", code="clr"), match="qc", ), output="depth", )
{ "outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000441
train
v3
Sensor network script: Node: evaporation | code: ref | fields: depth, type, value, level Sensor: visibility | fields: qc, type, reading, lat Task: Fetch level from evaporation where value is greater than the minimum of reading in visibility for matching depth. Script:
readings = fetch( node=Node("evaporation", code="ref"), filter=exceeds( field="value", threshold=aggregate("MIN", "reading", source=Probe("visibility", code="clr"), match="depth"), ), output="level", )
{ "outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000442
train
v2
Sensor network script: Node: humidity | code: ref | fields: lat, reading, type, level Sensor: uv_index | fields: ts, qc, level, depth Task: Get reading from humidity where a corresponding entry exists in uv_index with the same type. Script:
readings = fetch( node=Node("humidity", code="ref"), filter=has_match( source=Probe("uv_index", code="flx"), match="type", ), output="reading", )
{ "outer_table": "humidity", "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_000443
train
v2
Sensor network script: Node: wind_speed | code: clr | fields: reading, qc, unit, lon Sensor: sunlight | fields: unit, value, qc, lat Task: Get value from wind_speed where a corresponding entry exists in sunlight with the same unit. Script:
readings = fetch( node=Node("wind_speed", code="clr"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000444
train
v3
Sensor network script: Node: temperature | code: mst | fields: unit, value, level, lon Sensor: lightning | fields: lat, qc, lon, depth Task: Retrieve level from temperature with reading above the AVG(depth) of lightning readings sharing the same unit. Script:
readings = fetch( node=Node("temperature", code="mst"), filter=exceeds( field="reading", threshold=aggregate("AVG", "depth", source=Probe("lightning", code="tnd"), match="unit"), ), output="level", )
{ "outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000445
train
v3
Sensor network script: Node: sunlight | code: gst | fields: type, unit, qc, reading Sensor: evaporation | fields: unit, qc, depth, type Task: Get depth from sunlight where reading exceeds the minimum reading from evaporation for the same type. Script:
readings = fetch( node=Node("sunlight", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MIN", "reading", source=Probe("evaporation", code="evp"), match="type"), ), output="depth", )
{ "outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000446
train
v1
Sensor network script: Node: evaporation | code: gst | fields: reading, depth, level, type Sensor: sunlight | fields: unit, reading, qc, value Task: Get depth from evaporation where type appears in sunlight readings with matching type. Script:
readings = fetch( node=Node("evaporation", code="gst"), filter=set_member( field="type", source=Probe("sunlight", code="brt"), match="type", ), output="depth", )
{ "outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000447
train
v1
Sensor network script: Node: humidity | code: ref | fields: unit, ts, lat, reading Sensor: drought_index | fields: qc, value, level, lon Task: Retrieve lat from humidity whose unit is found in drought_index records where type matches the outer node. Script:
readings = fetch( node=Node("humidity", code="ref"), filter=set_member( field="unit", source=Probe("drought_index", code="drt"), match="type", ), output="lat", )
{ "outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000448
train
v2
Sensor network script: Node: pressure | code: stn | fields: lon, level, type, ts Sensor: drought_index | fields: level, type, value, reading Task: Fetch lat from pressure that have at least one corresponding drought_index measurement for the same type. Script:
readings = fetch( node=Node("pressure", code="stn"), filter=has_match( source=Probe("drought_index", code="drt"), match="type", ), output="lat", )
{ "outer_table": "pressure", "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_000449
train
v3
Sensor network script: Node: frost | code: thr | fields: lat, qc, value, depth Sensor: sunlight | fields: qc, level, value, lon Task: Fetch reading from frost where reading is greater than the count of of reading in sunlight for matching unit. Script:
readings = fetch( node=Node("frost", code="thr"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "reading", source=Probe("sunlight", code="brt"), match="unit"), ), output="reading", )
{ "outer_table": "frost", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000450
train
v3
Sensor network script: Node: pressure | code: stn | fields: unit, qc, depth, lat Sensor: drought_index | fields: value, unit, lat, level Task: Fetch lon from pressure where depth is greater than the average of reading in drought_index for matching unit. Script:
readings = fetch( node=Node("pressure", code="stn"), filter=exceeds( field="depth", threshold=aggregate("AVG", "reading", source=Probe("drought_index", code="drt"), match="unit"), ), output="lon", )
{ "outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000451
train
v3
Sensor network script: Node: wind_speed | code: gst | fields: lon, ts, type, unit Sensor: visibility | fields: level, ts, type, reading Task: Retrieve lon from wind_speed with reading above the MIN(reading) of visibility readings sharing the same type. Script:
readings = fetch( node=Node("wind_speed", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MIN", "reading", source=Probe("visibility", code="clr"), match="type"), ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000452
train
v2
Sensor network script: Node: cloud_cover | code: ref | fields: reading, lon, unit, value Sensor: air_quality | fields: value, unit, ts, qc Task: Get value from cloud_cover where a corresponding entry exists in air_quality with the same type. Script:
readings = fetch( node=Node("cloud_cover", code="ref"), filter=has_match( source=Probe("air_quality", code="prt"), match="type", ), output="value", )
{ "outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000453
train
v1
Sensor network script: Node: sunlight | code: prt | fields: lon, qc, lat, level Sensor: humidity | fields: value, type, reading, qc Task: Retrieve level from sunlight whose type is found in humidity records where unit matches the outer node. Script:
readings = fetch( node=Node("sunlight", code="prt"), filter=set_member( field="type", source=Probe("humidity", code="hgr"), match="unit", ), output="level", )
{ "outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000454
train
v1
Sensor network script: Node: visibility | code: hub | fields: reading, unit, ts, depth Sensor: soil_moisture | fields: unit, value, lat, level Task: Retrieve level from visibility whose ts is found in soil_moisture records where depth matches the outer node. Script:
readings = fetch( node=Node("visibility", code="hub"), filter=set_member( field="ts", source=Probe("soil_moisture", code="grvl"), match="depth", ), output="level", )
{ "outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000455
train
v3
Sensor network script: Node: soil_moisture | code: mst | fields: ts, lat, reading, unit Sensor: snow_depth | fields: level, unit, ts, type Task: Fetch depth from soil_moisture where depth is greater than the maximum of depth in snow_depth for matching type. Script:
readings = fetch( node=Node("soil_moisture", code="mst"), filter=exceeds( field="depth", threshold=aggregate("MAX", "depth", source=Probe("snow_depth", code="snw"), match="type"), ), output="depth", )
{ "outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000456
train
v2
Sensor network script: Node: rainfall | code: clr | fields: reading, lon, depth, lat Sensor: sunlight | fields: qc, depth, value, lon Task: Get reading from rainfall where a corresponding entry exists in sunlight with the same unit. Script:
readings = fetch( node=Node("rainfall", code="clr"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="reading", )
{ "outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000457
train
v2
Sensor network script: Node: rainfall | code: stn | fields: unit, depth, level, reading Sensor: humidity | fields: level, qc, lon, type Task: Retrieve lon from rainfall that have at least one matching reading in humidity sharing the same unit. Script:
readings = fetch( node=Node("rainfall", code="stn"), filter=has_match( source=Probe("humidity", code="hgr"), match="unit", ), output="lon", )
{ "outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000458
train
v3
Sensor network script: Node: turbidity | code: mst | fields: value, depth, ts, reading Sensor: uv_index | fields: level, value, lon, lat Task: Retrieve reading from turbidity with value above the COUNT(reading) of uv_index readings sharing the same ts. Script:
readings = fetch( node=Node("turbidity", code="mst"), filter=exceeds( field="value", threshold=aggregate("COUNT", "reading", source=Probe("uv_index", code="flx"), match="ts"), ), output="reading", )
{ "outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000459
train
v2
Sensor network script: Node: temperature | code: clr | fields: ts, value, qc, type Sensor: turbidity | fields: lat, depth, type, ts Task: Fetch lon from temperature that have at least one corresponding turbidity measurement for the same type. Script:
readings = fetch( node=Node("temperature", code="clr"), filter=has_match( source=Probe("turbidity", code="ftu"), match="type", ), output="lon", )
{ "outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000460
train
v3
Sensor network script: Node: soil_moisture | code: prt | fields: depth, value, unit, qc Sensor: rainfall | fields: lon, unit, reading, type Task: Retrieve lat from soil_moisture with value above the SUM(depth) of rainfall readings sharing the same type. Script:
readings = fetch( node=Node("soil_moisture", code="prt"), filter=exceeds( field="value", threshold=aggregate("SUM", "depth", source=Probe("rainfall", code="rnfl"), match="type"), ), output="lat", )
{ "outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000461
train
v1
Sensor network script: Node: dew_point | code: ref | fields: reading, unit, value, depth Sensor: temperature | fields: value, lon, reading, ts Task: Get reading from dew_point where ts appears in temperature readings with matching type. Script:
readings = fetch( node=Node("dew_point", code="ref"), filter=set_member( field="ts", source=Probe("temperature", code="thr"), match="type", ), output="reading", )
{ "outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000462
train
v2
Sensor network script: Node: soil_moisture | code: hub | fields: qc, type, ts, level Sensor: turbidity | fields: depth, lon, type, ts Task: Fetch value from soil_moisture that have at least one corresponding turbidity measurement for the same type. Script:
readings = fetch( node=Node("soil_moisture", code="hub"), filter=has_match( source=Probe("turbidity", code="ftu"), match="type", ), output="value", )
{ "outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000463
train
v1
Sensor network script: Node: rainfall | code: stn | fields: lat, ts, value, reading Sensor: drought_index | fields: ts, type, level, depth Task: Get depth from rainfall where ts appears in drought_index readings with matching type. Script:
readings = fetch( node=Node("rainfall", code="stn"), filter=set_member( field="ts", source=Probe("drought_index", code="drt"), match="type", ), output="depth", )
{ "outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000464
train
v3
Sensor network script: Node: snow_depth | code: clr | fields: value, type, level, lon Sensor: frost | fields: ts, unit, depth, lon Task: Fetch value from snow_depth where reading is greater than the maximum of reading in frost for matching qc. Script:
readings = fetch( node=Node("snow_depth", code="clr"), filter=exceeds( field="reading", threshold=aggregate("MAX", "reading", source=Probe("frost", code="frs"), match="qc"), ), output="value", )
{ "outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000465
train
v3
Sensor network script: Node: drought_index | code: stn | fields: level, ts, unit, qc Sensor: uv_index | fields: level, depth, lat, qc Task: Get value from drought_index where reading exceeds the count of value from uv_index for the same qc. Script:
readings = fetch( node=Node("drought_index", code="stn"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "value", source=Probe("uv_index", code="flx"), match="qc"), ), output="value", )
{ "outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000466
train
v3
Sensor network script: Node: wind_speed | code: gst | fields: value, qc, reading, unit Sensor: temperature | fields: unit, reading, qc, type Task: Get depth from wind_speed where value exceeds the count of value from temperature for the same ts. Script:
readings = fetch( node=Node("wind_speed", code="gst"), filter=exceeds( field="value", threshold=aggregate("COUNT", "value", source=Probe("temperature", code="thr"), match="ts"), ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000467
train
v3
Sensor network script: Node: wind_speed | code: ref | fields: value, type, unit, ts Sensor: soil_moisture | fields: value, level, type, qc Task: Retrieve lon from wind_speed with value above the AVG(reading) of soil_moisture readings sharing the same qc. Script:
readings = fetch( node=Node("wind_speed", code="ref"), filter=exceeds( field="value", threshold=aggregate("AVG", "reading", source=Probe("soil_moisture", code="grvl"), match="qc"), ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000468
train
v2
Sensor network script: Node: evaporation | code: mst | fields: ts, type, qc, unit Sensor: sunlight | fields: level, ts, unit, type Task: Retrieve reading from evaporation that have at least one matching reading in sunlight sharing the same unit. Script:
readings = fetch( node=Node("evaporation", code="mst"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="reading", )
{ "outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000469
train
v2
Sensor network script: Node: humidity | code: stn | fields: depth, ts, unit, lat Sensor: frost | fields: depth, level, value, lon Task: Fetch level from humidity that have at least one corresponding frost measurement for the same unit. Script:
readings = fetch( node=Node("humidity", code="stn"), filter=has_match( source=Probe("frost", code="frs"), match="unit", ), output="level", )
{ "outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000470
train
v3
Sensor network script: Node: turbidity | code: ref | fields: value, depth, lon, ts Sensor: wind_speed | fields: value, unit, type, lat Task: Fetch lat from turbidity where value is greater than the maximum of value in wind_speed for matching type. Script:
readings = fetch( node=Node("turbidity", code="ref"), filter=exceeds( field="value", threshold=aggregate("MAX", "value", source=Probe("wind_speed", code="gst"), match="type"), ), output="lat", )
{ "outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000471
train
v1
Sensor network script: Node: humidity | code: stn | fields: ts, qc, depth, lon Sensor: turbidity | fields: qc, unit, lon, ts Task: Get reading from humidity where ts appears in turbidity readings with matching type. Script:
readings = fetch( node=Node("humidity", code="stn"), filter=set_member( field="ts", source=Probe("turbidity", code="ftu"), match="type", ), output="reading", )
{ "outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000472
train
v1
Sensor network script: Node: uv_index | code: ref | fields: unit, ts, type, lat Sensor: temperature | fields: value, depth, level, lon Task: Fetch level from uv_index where type exists in temperature sensor data for the same qc. Script:
readings = fetch( node=Node("uv_index", code="ref"), filter=set_member( field="type", source=Probe("temperature", code="thr"), match="qc", ), output="level", )
{ "outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000473
train
v2
Sensor network script: Node: visibility | code: stn | fields: lon, ts, value, type Sensor: temperature | fields: type, unit, qc, depth Task: Fetch lon from visibility that have at least one corresponding temperature measurement for the same qc. Script:
readings = fetch( node=Node("visibility", code="stn"), filter=has_match( source=Probe("temperature", code="thr"), match="qc", ), output="lon", )
{ "outer_table": "visibility", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000474
train
v1
Sensor network script: Node: evaporation | code: ref | fields: type, unit, lon, value Sensor: lightning | fields: unit, qc, reading, lat Task: Retrieve reading from evaporation whose ts is found in lightning records where depth matches the outer node. Script:
readings = fetch( node=Node("evaporation", code="ref"), filter=set_member( field="ts", source=Probe("lightning", code="tnd"), match="depth", ), output="reading", )
{ "outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000475
train
v3
Sensor network script: Node: wind_speed | code: hub | fields: depth, unit, type, qc Sensor: sunlight | fields: type, unit, level, depth Task: Retrieve value from wind_speed with value above the MAX(depth) of sunlight readings sharing the same ts. Script:
readings = fetch( node=Node("wind_speed", code="hub"), filter=exceeds( field="value", threshold=aggregate("MAX", "depth", source=Probe("sunlight", code="brt"), match="ts"), ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000476
train
v2
Sensor network script: Node: frost | code: stn | fields: ts, lat, type, value Sensor: snow_depth | fields: level, value, qc, ts Task: Get level from frost where a corresponding entry exists in snow_depth with the same depth. Script:
readings = fetch( node=Node("frost", code="stn"), filter=has_match( source=Probe("snow_depth", code="snw"), match="depth", ), output="level", )
{ "outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000477
train
v1
Sensor network script: Node: sunlight | code: stn | fields: value, ts, level, qc Sensor: turbidity | fields: qc, ts, value, reading Task: Get reading from sunlight where unit appears in turbidity readings with matching qc. Script:
readings = fetch( node=Node("sunlight", code="stn"), filter=set_member( field="unit", source=Probe("turbidity", code="ftu"), match="qc", ), output="reading", )
{ "outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000478
train
v1
Sensor network script: Node: frost | code: stn | fields: level, ts, lon, lat Sensor: soil_moisture | fields: qc, lon, type, value Task: Retrieve lon from frost whose type is found in soil_moisture records where depth matches the outer node. Script:
readings = fetch( node=Node("frost", code="stn"), filter=set_member( field="type", source=Probe("soil_moisture", code="grvl"), match="depth", ), output="lon", )
{ "outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000479
train
v1
Sensor network script: Node: visibility | code: mst | fields: reading, lat, qc, level Sensor: uv_index | fields: level, lon, depth, lat Task: Retrieve level from visibility whose depth is found in uv_index records where ts matches the outer node. Script:
readings = fetch( node=Node("visibility", code="mst"), filter=set_member( field="depth", source=Probe("uv_index", code="flx"), match="ts", ), output="level", )
{ "outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000480
train
v3
Sensor network script: Node: dew_point | code: gst | fields: lon, lat, type, qc Sensor: air_quality | fields: depth, unit, value, type Task: Retrieve lat from dew_point with value above the AVG(value) of air_quality readings sharing the same type. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=exceeds( field="value", threshold=aggregate("AVG", "value", source=Probe("air_quality", code="prt"), match="type"), ), output="lat", )
{ "outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000481
train
v2
Sensor network script: Node: evaporation | code: mst | fields: ts, qc, value, lat Sensor: sunlight | fields: reading, qc, value, level Task: Fetch level from evaporation that have at least one corresponding sunlight measurement for the same depth. Script:
readings = fetch( node=Node("evaporation", code="mst"), filter=has_match( source=Probe("sunlight", code="brt"), match="depth", ), output="level", )
{ "outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000482
train
v3
Sensor network script: Node: wind_speed | code: stn | fields: unit, level, type, ts Sensor: evaporation | fields: type, ts, qc, reading Task: Retrieve lat from wind_speed with depth above the SUM(depth) of evaporation readings sharing the same depth. Script:
readings = fetch( node=Node("wind_speed", code="stn"), filter=exceeds( field="depth", threshold=aggregate("SUM", "depth", source=Probe("evaporation", code="evp"), match="depth"), ), output="lat", )
{ "outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000483
train
v2
Sensor network script: Node: cloud_cover | code: gst | fields: qc, ts, unit, level Sensor: temperature | fields: value, qc, type, reading Task: Get reading from cloud_cover where a corresponding entry exists in temperature with the same ts. Script:
readings = fetch( node=Node("cloud_cover", code="gst"), filter=has_match( source=Probe("temperature", code="thr"), match="ts", ), output="reading", )
{ "outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000484
train
v2
Sensor network script: Node: pressure | code: hub | fields: unit, qc, ts, depth Sensor: rainfall | fields: value, lon, reading, qc Task: Get lat from pressure where a corresponding entry exists in rainfall with the same depth. Script:
readings = fetch( node=Node("pressure", code="hub"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="depth", ), output="lat", )
{ "outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000485
train
v2
Sensor network script: Node: dew_point | code: hub | fields: unit, lon, type, depth Sensor: uv_index | fields: qc, reading, depth, lat Task: Fetch lat from dew_point that have at least one corresponding uv_index measurement for the same qc. Script:
readings = fetch( node=Node("dew_point", code="hub"), filter=has_match( source=Probe("uv_index", code="flx"), match="qc", ), output="lat", )
{ "outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000486
train
v2
Sensor network script: Node: pressure | code: mst | fields: reading, value, lon, lat Sensor: humidity | fields: reading, value, type, qc Task: Fetch lon from pressure that have at least one corresponding humidity measurement for the same unit. Script:
readings = fetch( node=Node("pressure", code="mst"), filter=has_match( source=Probe("humidity", code="hgr"), match="unit", ), output="lon", )
{ "outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000487
train
v3
Sensor network script: Node: snow_depth | code: gst | fields: type, depth, reading, unit Sensor: sunlight | fields: level, qc, ts, lat Task: Fetch reading from snow_depth where depth is greater than the total of value in sunlight for matching type. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=exceeds( field="depth", threshold=aggregate("SUM", "value", source=Probe("sunlight", code="brt"), match="type"), ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000488
train
v2
Sensor network script: Node: uv_index | code: hub | fields: lat, depth, lon, unit Sensor: turbidity | fields: level, ts, value, lat Task: Get depth from uv_index where a corresponding entry exists in turbidity with the same type. Script:
readings = fetch( node=Node("uv_index", code="hub"), filter=has_match( source=Probe("turbidity", code="ftu"), match="type", ), output="depth", )
{ "outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000489
train
v3
Sensor network script: Node: wind_speed | code: mst | fields: value, reading, ts, qc Sensor: frost | fields: type, qc, unit, ts Task: Retrieve level from wind_speed with depth above the COUNT(value) of frost readings sharing the same unit. Script:
readings = fetch( node=Node("wind_speed", code="mst"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("frost", code="frs"), match="unit"), ), output="level", )
{ "outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000490
train
v1
Sensor network script: Node: wind_speed | code: prt | fields: type, depth, reading, ts Sensor: sunlight | fields: level, value, reading, unit Task: Retrieve level from wind_speed whose type is found in sunlight records where type matches the outer node. Script:
readings = fetch( node=Node("wind_speed", code="prt"), filter=set_member( field="type", source=Probe("sunlight", code="brt"), match="type", ), output="level", )
{ "outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000491
train
v2
Sensor network script: Node: frost | code: stn | fields: unit, qc, reading, ts Sensor: rainfall | fields: value, ts, depth, reading Task: Get value from frost where a corresponding entry exists in rainfall with the same type. Script:
readings = fetch( node=Node("frost", code="stn"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="type", ), output="value", )
{ "outer_table": "frost", "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_000492
train
v2
Sensor network script: Node: lightning | code: prt | fields: depth, reading, lon, unit Sensor: soil_moisture | fields: unit, qc, reading, value Task: Fetch depth from lightning that have at least one corresponding soil_moisture measurement for the same ts. Script:
readings = fetch( node=Node("lightning", code="prt"), filter=has_match( source=Probe("soil_moisture", code="grvl"), match="ts", ), output="depth", )
{ "outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000493
train
v1
Sensor network script: Node: sunlight | code: stn | fields: lon, depth, qc, value Sensor: temperature | fields: reading, value, lat, type Task: Get depth from sunlight where unit appears in temperature readings with matching unit. Script:
readings = fetch( node=Node("sunlight", code="stn"), filter=set_member( field="unit", source=Probe("temperature", code="thr"), match="unit", ), output="depth", )
{ "outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000494
train
v2
Sensor network script: Node: pressure | code: thr | fields: level, type, reading, value Sensor: drought_index | fields: reading, qc, lon, value Task: Get value from pressure where a corresponding entry exists in drought_index with the same unit. Script:
readings = fetch( node=Node("pressure", code="thr"), filter=has_match( source=Probe("drought_index", code="drt"), match="unit", ), output="value", )
{ "outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000495
train
v1
Sensor network script: Node: frost | code: clr | fields: ts, lon, value, level Sensor: air_quality | fields: level, depth, ts, lon Task: Retrieve lon from frost whose qc is found in air_quality records where depth matches the outer node. Script:
readings = fetch( node=Node("frost", code="clr"), filter=set_member( field="qc", source=Probe("air_quality", code="prt"), match="depth", ), output="lon", )
{ "outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000496
train
v1
Sensor network script: Node: sunlight | code: ref | fields: lon, level, qc, ts Sensor: visibility | fields: lat, type, unit, qc Task: Retrieve reading from sunlight whose unit is found in visibility records where type matches the outer node. Script:
readings = fetch( node=Node("sunlight", code="ref"), filter=set_member( field="unit", source=Probe("visibility", code="clr"), match="type", ), output="reading", )
{ "outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000497
train
v1
Sensor network script: Node: cloud_cover | code: thr | fields: level, reading, value, lon Sensor: pressure | fields: unit, value, type, qc Task: Fetch reading from cloud_cover where depth exists in pressure sensor data for the same ts. Script:
readings = fetch( node=Node("cloud_cover", code="thr"), filter=set_member( field="depth", source=Probe("pressure", code="mbl"), match="ts", ), output="reading", )
{ "outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000498
train
v2
Sensor network script: Node: sunlight | code: thr | fields: lat, type, value, depth Sensor: visibility | fields: value, qc, level, depth Task: Retrieve lon from sunlight that have at least one matching reading in visibility sharing the same depth. Script:
readings = fetch( node=Node("sunlight", code="thr"), filter=has_match( source=Probe("visibility", code="clr"), match="depth", ), output="lon", )
{ "outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000499
train