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: rainfall | code: clr | fields: qc, level, unit, reading Sensor: humidity | fields: level, lat, ts, lon Task: Get level from rainfall where a corresponding entry exists in humidity with the same unit. Script:
readings = fetch( node=Node("rainfall", code="clr"), filter=has_match( source=Probe("humidity", code="hgr"), match="unit", ), output="level", )
{ "outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000200
train
v1
Sensor network script: Node: cloud_cover | code: stn | fields: depth, reading, qc, value Sensor: humidity | fields: unit, reading, depth, type Task: Fetch depth from cloud_cover where depth exists in humidity sensor data for the same ts. Script:
readings = fetch( node=Node("cloud_cover", code="stn"), filter=set_member( field="depth", source=Probe("humidity", code="hgr"), match="ts", ), output="depth", )
{ "outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000201
train
v2
Sensor network script: Node: visibility | code: mst | fields: ts, type, lat, qc Sensor: humidity | fields: level, reading, lat, type Task: Get depth from visibility where a corresponding entry exists in humidity with the same type. Script:
readings = fetch( node=Node("visibility", code="mst"), filter=has_match( source=Probe("humidity", code="hgr"), match="type", ), output="depth", )
{ "outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000202
train
v1
Sensor network script: Node: cloud_cover | code: ref | fields: unit, lat, value, ts Sensor: lightning | fields: reading, qc, type, ts Task: Retrieve value from cloud_cover whose type is found in lightning records where type matches the outer node. Script:
readings = fetch( node=Node("cloud_cover", code="ref"), filter=set_member( field="type", source=Probe("lightning", code="tnd"), match="type", ), output="value", )
{ "outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000203
train
v1
Sensor network script: Node: wind_speed | code: clr | fields: lat, lon, type, level Sensor: humidity | fields: type, reading, value, level Task: Get value from wind_speed where depth appears in humidity readings with matching ts. Script:
readings = fetch( node=Node("wind_speed", code="clr"), filter=set_member( field="depth", source=Probe("humidity", code="hgr"), match="ts", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000204
train
v3
Sensor network script: Node: dew_point | code: gst | fields: depth, value, ts, type Sensor: visibility | fields: level, lon, unit, value Task: Retrieve value from dew_point with depth above the AVG(reading) of visibility readings sharing the same unit. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=exceeds( field="depth", threshold=aggregate("AVG", "reading", source=Probe("visibility", code="clr"), match="unit"), ), output="value", )
{ "outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000205
train
v2
Sensor network script: Node: rainfall | code: thr | fields: depth, lat, value, qc Sensor: sunlight | fields: qc, reading, lon, lat Task: Get value from rainfall where a corresponding entry exists in sunlight with the same ts. Script:
readings = fetch( node=Node("rainfall", code="thr"), filter=has_match( source=Probe("sunlight", code="brt"), match="ts", ), output="value", )
{ "outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000206
train
v3
Sensor network script: Node: uv_index | code: ref | fields: level, depth, qc, unit Sensor: drought_index | fields: type, lat, ts, unit Task: Get reading from uv_index where reading exceeds the total reading from drought_index for the same type. Script:
readings = fetch( node=Node("uv_index", code="ref"), filter=exceeds( field="reading", threshold=aggregate("SUM", "reading", source=Probe("drought_index", code="drt"), match="type"), ), output="reading", )
{ "outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000207
train
v2
Sensor network script: Node: visibility | code: prt | fields: qc, depth, level, lon Sensor: frost | fields: unit, qc, ts, reading Task: Retrieve lat from visibility that have at least one matching reading in frost sharing the same depth. Script:
readings = fetch( node=Node("visibility", code="prt"), filter=has_match( source=Probe("frost", code="frs"), match="depth", ), output="lat", )
{ "outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000208
train
v1
Sensor network script: Node: wind_speed | code: prt | fields: level, depth, ts, unit Sensor: visibility | fields: lon, reading, value, level Task: Retrieve value from wind_speed whose ts is found in visibility records where ts matches the outer node. Script:
readings = fetch( node=Node("wind_speed", code="prt"), filter=set_member( field="ts", source=Probe("visibility", code="clr"), match="ts", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000209
train
v3
Sensor network script: Node: temperature | code: gst | fields: level, ts, lat, depth Sensor: uv_index | fields: lon, qc, unit, ts Task: Fetch lat from temperature where reading is greater than the minimum of value in uv_index for matching qc. Script:
readings = fetch( node=Node("temperature", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MIN", "value", source=Probe("uv_index", code="flx"), match="qc"), ), output="lat", )
{ "outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000210
train
v2
Sensor network script: Node: uv_index | code: mst | fields: value, lon, reading, unit Sensor: lightning | fields: type, value, ts, lon Task: Get reading from uv_index where a corresponding entry exists in lightning with the same depth. Script:
readings = fetch( node=Node("uv_index", code="mst"), filter=has_match( source=Probe("lightning", code="tnd"), match="depth", ), output="reading", )
{ "outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000211
train
v1
Sensor network script: Node: cloud_cover | code: clr | fields: level, unit, value, reading Sensor: soil_moisture | fields: lon, reading, unit, lat Task: Retrieve lon from cloud_cover whose qc is found in soil_moisture records where type matches the outer node. Script:
readings = fetch( node=Node("cloud_cover", code="clr"), filter=set_member( field="qc", source=Probe("soil_moisture", code="grvl"), match="type", ), output="lon", )
{ "outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000212
train
v3
Sensor network script: Node: rainfall | code: thr | fields: lat, reading, level, lon Sensor: frost | fields: ts, unit, lat, reading Task: Fetch depth from rainfall where depth is greater than the count of of value in frost for matching qc. Script:
readings = fetch( node=Node("rainfall", code="thr"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("frost", code="frs"), match="qc"), ), output="depth", )
{ "outer_table": "rainfall", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000213
train
v1
Sensor network script: Node: dew_point | code: clr | fields: depth, lon, qc, type Sensor: uv_index | fields: qc, lon, depth, unit Task: Fetch lat from dew_point where type exists in uv_index sensor data for the same qc. Script:
readings = fetch( node=Node("dew_point", code="clr"), filter=set_member( field="type", source=Probe("uv_index", code="flx"), match="qc", ), output="lat", )
{ "outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000214
train
v1
Sensor network script: Node: wind_speed | code: stn | fields: reading, lon, level, type Sensor: uv_index | fields: ts, unit, lon, reading Task: Fetch depth from wind_speed where ts exists in uv_index sensor data for the same type. Script:
readings = fetch( node=Node("wind_speed", code="stn"), filter=set_member( field="ts", source=Probe("uv_index", code="flx"), match="type", ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000215
train
v2
Sensor network script: Node: sunlight | code: prt | fields: reading, value, lat, ts Sensor: visibility | fields: lon, reading, qc, lat Task: Retrieve depth from sunlight that have at least one matching reading in visibility sharing the same type. Script:
readings = fetch( node=Node("sunlight", code="prt"), filter=has_match( source=Probe("visibility", code="clr"), match="type", ), output="depth", )
{ "outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000216
train
v1
Sensor network script: Node: drought_index | code: ref | fields: qc, level, depth, type Sensor: uv_index | fields: reading, ts, lat, qc Task: Get depth from drought_index where unit appears in uv_index readings with matching qc. Script:
readings = fetch( node=Node("drought_index", code="ref"), filter=set_member( field="unit", source=Probe("uv_index", code="flx"), match="qc", ), output="depth", )
{ "outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000217
train
v1
Sensor network script: Node: rainfall | code: hub | fields: depth, ts, type, lon Sensor: uv_index | fields: ts, qc, lon, level Task: Get value from rainfall where type appears in uv_index readings with matching type. Script:
readings = fetch( node=Node("rainfall", code="hub"), filter=set_member( field="type", source=Probe("uv_index", code="flx"), match="type", ), output="value", )
{ "outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000218
train
v1
Sensor network script: Node: temperature | code: thr | fields: type, lon, level, reading Sensor: humidity | fields: level, depth, ts, lon Task: Get reading from temperature where type appears in humidity readings with matching ts. Script:
readings = fetch( node=Node("temperature", code="thr"), filter=set_member( field="type", source=Probe("humidity", code="hgr"), match="ts", ), output="reading", )
{ "outer_table": "temperature", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000219
train
v3
Sensor network script: Node: dew_point | code: prt | fields: value, qc, level, type Sensor: snow_depth | fields: unit, lon, ts, qc Task: Get value from dew_point where reading exceeds the total reading from snow_depth for the same type. Script:
readings = fetch( node=Node("dew_point", code="prt"), filter=exceeds( field="reading", threshold=aggregate("SUM", "reading", source=Probe("snow_depth", code="snw"), match="type"), ), output="value", )
{ "outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000220
train
v3
Sensor network script: Node: humidity | code: clr | fields: ts, lat, unit, reading Sensor: air_quality | fields: level, reading, lat, unit Task: Fetch reading from humidity where value is greater than the average of value in air_quality for matching depth. Script:
readings = fetch( node=Node("humidity", code="clr"), filter=exceeds( field="value", threshold=aggregate("AVG", "value", source=Probe("air_quality", code="prt"), match="depth"), ), output="reading", )
{ "outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000221
train
v1
Sensor network script: Node: lightning | code: prt | fields: ts, lon, unit, depth Sensor: soil_moisture | fields: qc, value, reading, level Task: Retrieve level from lightning whose depth is found in soil_moisture records where type matches the outer node. Script:
readings = fetch( node=Node("lightning", code="prt"), filter=set_member( field="depth", source=Probe("soil_moisture", code="grvl"), match="type", ), output="level", )
{ "outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000222
train
v1
Sensor network script: Node: pressure | code: prt | fields: lon, ts, value, reading Sensor: visibility | fields: qc, lon, unit, type Task: Retrieve level from pressure whose type is found in visibility records where type matches the outer node. Script:
readings = fetch( node=Node("pressure", code="prt"), filter=set_member( field="type", source=Probe("visibility", code="clr"), match="type", ), output="level", )
{ "outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000223
train
v1
Sensor network script: Node: rainfall | code: gst | fields: depth, lon, unit, type Sensor: pressure | fields: qc, type, lat, unit Task: Get lat from rainfall where unit appears in pressure readings with matching ts. Script:
readings = fetch( node=Node("rainfall", code="gst"), filter=set_member( field="unit", source=Probe("pressure", code="mbl"), match="ts", ), output="lat", )
{ "outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000224
train
v2
Sensor network script: Node: visibility | code: clr | fields: ts, type, lat, lon Sensor: lightning | fields: lat, reading, qc, type Task: Get reading from visibility where a corresponding entry exists in lightning with the same type. Script:
readings = fetch( node=Node("visibility", code="clr"), filter=has_match( source=Probe("lightning", code="tnd"), match="type", ), output="reading", )
{ "outer_table": "visibility", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000225
train
v3
Sensor network script: Node: air_quality | code: gst | fields: ts, unit, lon, lat Sensor: evaporation | fields: reading, qc, unit, type Task: Fetch depth from air_quality where reading is greater than the maximum of depth in evaporation for matching depth. Script:
readings = fetch( node=Node("air_quality", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MAX", "depth", source=Probe("evaporation", code="evp"), match="depth"), ), output="depth", )
{ "outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000226
train
v3
Sensor network script: Node: sunlight | code: clr | fields: depth, unit, ts, reading Sensor: wind_speed | fields: depth, unit, type, ts Task: Retrieve reading from sunlight with depth above the MIN(depth) of wind_speed readings sharing the same depth. Script:
readings = fetch( node=Node("sunlight", code="clr"), filter=exceeds( field="depth", threshold=aggregate("MIN", "depth", source=Probe("wind_speed", code="gst"), match="depth"), ), output="reading", )
{ "outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000227
train
v3
Sensor network script: Node: humidity | code: clr | fields: lon, lat, reading, level Sensor: temperature | fields: qc, value, lat, reading Task: Get lon from humidity where value exceeds the average value from temperature for the same depth. Script:
readings = fetch( node=Node("humidity", code="clr"), filter=exceeds( field="value", threshold=aggregate("AVG", "value", source=Probe("temperature", code="thr"), match="depth"), ), output="lon", )
{ "outer_table": "humidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000228
train
v3
Sensor network script: Node: turbidity | code: gst | fields: depth, lon, value, type Sensor: pressure | fields: depth, type, value, ts Task: Get value from turbidity where reading exceeds the minimum reading from pressure for the same qc. Script:
readings = fetch( node=Node("turbidity", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MIN", "reading", source=Probe("pressure", code="mbl"), match="qc"), ), output="value", )
{ "outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000229
train
v2
Sensor network script: Node: frost | code: mst | fields: level, reading, unit, lon Sensor: wind_speed | fields: unit, lat, ts, level Task: Retrieve depth from frost that have at least one matching reading in wind_speed sharing the same ts. Script:
readings = fetch( node=Node("frost", code="mst"), filter=has_match( source=Probe("wind_speed", code="gst"), match="ts", ), output="depth", )
{ "outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000230
train
v3
Sensor network script: Node: uv_index | code: gst | fields: value, unit, reading, qc Sensor: dew_point | fields: qc, depth, value, lon Task: Retrieve level from uv_index with value above the COUNT(value) of dew_point readings sharing the same type. Script:
readings = fetch( node=Node("uv_index", code="gst"), filter=exceeds( field="value", threshold=aggregate("COUNT", "value", source=Probe("dew_point", code="cnd"), match="type"), ), output="level", )
{ "outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000231
train
v3
Sensor network script: Node: turbidity | code: stn | fields: ts, reading, lat, value Sensor: lightning | fields: reading, qc, type, lon Task: Fetch depth from turbidity where depth is greater than the count of of value in lightning for matching unit. Script:
readings = fetch( node=Node("turbidity", code="stn"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("lightning", code="tnd"), match="unit"), ), output="depth", )
{ "outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000232
train
v1
Sensor network script: Node: rainfall | code: thr | fields: ts, unit, value, lon Sensor: frost | fields: depth, lon, unit, ts Task: Get level from rainfall where type appears in frost readings with matching ts. Script:
readings = fetch( node=Node("rainfall", code="thr"), filter=set_member( field="type", source=Probe("frost", code="frs"), match="ts", ), output="level", )
{ "outer_table": "rainfall", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000233
train
v1
Sensor network script: Node: drought_index | code: stn | fields: level, unit, ts, type Sensor: frost | fields: qc, level, unit, depth Task: Get value from drought_index where depth appears in frost readings with matching depth. Script:
readings = fetch( node=Node("drought_index", code="stn"), filter=set_member( field="depth", source=Probe("frost", code="frs"), match="depth", ), output="value", )
{ "outer_table": "drought_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000234
train
v2
Sensor network script: Node: rainfall | code: clr | fields: lat, unit, type, ts Sensor: cloud_cover | fields: qc, lon, type, reading Task: Fetch reading from rainfall that have at least one corresponding cloud_cover measurement for the same qc. Script:
readings = fetch( node=Node("rainfall", code="clr"), filter=has_match( source=Probe("cloud_cover", code="nbl"), match="qc", ), output="reading", )
{ "outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000235
train
v3
Sensor network script: Node: lightning | code: gst | fields: reading, value, level, type Sensor: uv_index | fields: reading, unit, lat, level Task: Fetch reading from lightning where depth is greater than the total of reading in uv_index for matching type. Script:
readings = fetch( node=Node("lightning", code="gst"), filter=exceeds( field="depth", threshold=aggregate("SUM", "reading", source=Probe("uv_index", code="flx"), match="type"), ), output="reading", )
{ "outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000236
train
v2
Sensor network script: Node: wind_speed | code: prt | fields: value, level, qc, depth Sensor: snow_depth | fields: lat, reading, ts, value Task: Retrieve value from wind_speed that have at least one matching reading in snow_depth sharing the same depth. Script:
readings = fetch( node=Node("wind_speed", code="prt"), filter=has_match( source=Probe("snow_depth", code="snw"), match="depth", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000237
train
v2
Sensor network script: Node: wind_speed | code: gst | fields: depth, reading, ts, qc Sensor: air_quality | fields: unit, type, ts, reading Task: Fetch value from wind_speed that have at least one corresponding air_quality measurement for the same qc. Script:
readings = fetch( node=Node("wind_speed", code="gst"), filter=has_match( source=Probe("air_quality", code="prt"), match="qc", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000238
train
v1
Sensor network script: Node: temperature | code: stn | fields: value, unit, lat, depth Sensor: evaporation | fields: lon, type, reading, unit Task: Get level from temperature where type appears in evaporation readings with matching qc. Script:
readings = fetch( node=Node("temperature", code="stn"), filter=set_member( field="type", source=Probe("evaporation", code="evp"), match="qc", ), output="level", )
{ "outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000239
train
v1
Sensor network script: Node: wind_speed | code: stn | fields: level, type, reading, value Sensor: visibility | fields: value, lat, type, unit Task: Fetch value from wind_speed where type exists in visibility sensor data for the same qc. Script:
readings = fetch( node=Node("wind_speed", code="stn"), filter=set_member( field="type", source=Probe("visibility", code="clr"), match="qc", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000240
train
v1
Sensor network script: Node: frost | code: ref | fields: level, depth, qc, value Sensor: evaporation | fields: value, lat, ts, depth Task: Retrieve depth from frost whose qc is found in evaporation records where ts matches the outer node. Script:
readings = fetch( node=Node("frost", code="ref"), filter=set_member( field="qc", source=Probe("evaporation", code="evp"), match="ts", ), output="depth", )
{ "outer_table": "frost", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000241
train
v1
Sensor network script: Node: snow_depth | code: gst | fields: qc, type, lon, lat Sensor: temperature | fields: level, depth, lon, unit Task: Retrieve reading from snow_depth whose unit is found in temperature records where qc matches the outer node. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=set_member( field="unit", source=Probe("temperature", code="thr"), match="qc", ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000242
train
v3
Sensor network script: Node: air_quality | code: ref | fields: lon, value, lat, reading Sensor: temperature | fields: level, lon, lat, ts Task: Get depth from air_quality where reading exceeds the count of depth from temperature for the same qc. Script:
readings = fetch( node=Node("air_quality", code="ref"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "depth", source=Probe("temperature", code="thr"), match="qc"), ), output="depth", )
{ "outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000243
train
v1
Sensor network script: Node: temperature | code: stn | fields: lon, unit, ts, level Sensor: cloud_cover | fields: reading, depth, qc, value Task: Get lat from temperature where type appears in cloud_cover readings with matching qc. Script:
readings = fetch( node=Node("temperature", code="stn"), filter=set_member( field="type", source=Probe("cloud_cover", code="nbl"), match="qc", ), output="lat", )
{ "outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000244
train
v1
Sensor network script: Node: soil_moisture | code: gst | fields: depth, qc, value, level Sensor: pressure | fields: depth, value, ts, lat Task: Fetch reading from soil_moisture where depth exists in pressure sensor data for the same qc. Script:
readings = fetch( node=Node("soil_moisture", code="gst"), filter=set_member( field="depth", source=Probe("pressure", code="mbl"), match="qc", ), output="reading", )
{ "outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000245
train
v2
Sensor network script: Node: air_quality | code: thr | fields: reading, ts, lat, type Sensor: dew_point | fields: depth, unit, ts, qc Task: Retrieve lon from air_quality that have at least one matching reading in dew_point sharing the same unit. Script:
readings = fetch( node=Node("air_quality", code="thr"), filter=has_match( source=Probe("dew_point", code="cnd"), match="unit", ), output="lon", )
{ "outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000246
train
v2
Sensor network script: Node: visibility | code: ref | fields: type, level, qc, value Sensor: humidity | fields: reading, qc, lat, value Task: Retrieve value from visibility that have at least one matching reading in humidity sharing the same ts. Script:
readings = fetch( node=Node("visibility", code="ref"), filter=has_match( source=Probe("humidity", code="hgr"), match="ts", ), output="value", )
{ "outer_table": "visibility", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000247
train
v1
Sensor network script: Node: turbidity | code: ref | fields: lon, reading, qc, ts Sensor: rainfall | fields: ts, level, depth, lon Task: Get value from turbidity where depth appears in rainfall readings with matching depth. Script:
readings = fetch( node=Node("turbidity", code="ref"), filter=set_member( field="depth", source=Probe("rainfall", code="rnfl"), match="depth", ), output="value", )
{ "outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000248
train
v1
Sensor network script: Node: soil_moisture | code: stn | fields: level, unit, lat, qc Sensor: rainfall | fields: lat, lon, depth, level Task: Fetch lat from soil_moisture where ts exists in rainfall sensor data for the same ts. Script:
readings = fetch( node=Node("soil_moisture", code="stn"), filter=set_member( field="ts", source=Probe("rainfall", code="rnfl"), match="ts", ), output="lat", )
{ "outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000249
train
v3
Sensor network script: Node: snow_depth | code: ref | fields: value, qc, lon, lat Sensor: temperature | fields: reading, lat, type, unit Task: Fetch reading from snow_depth where reading is greater than the maximum of value in temperature for matching qc. Script:
readings = fetch( node=Node("snow_depth", code="ref"), filter=exceeds( field="reading", threshold=aggregate("MAX", "value", source=Probe("temperature", code="thr"), match="qc"), ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000250
train
v3
Sensor network script: Node: humidity | code: mst | fields: depth, reading, lon, ts Sensor: soil_moisture | fields: ts, lat, reading, value Task: Fetch lat from humidity where depth is greater than the maximum of value in soil_moisture for matching type. Script:
readings = fetch( node=Node("humidity", code="mst"), filter=exceeds( field="depth", threshold=aggregate("MAX", "value", source=Probe("soil_moisture", code="grvl"), match="type"), ), output="lat", )
{ "outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000251
train
v3
Sensor network script: Node: snow_depth | code: clr | fields: type, reading, value, level Sensor: uv_index | fields: depth, type, qc, ts Task: Retrieve lon from snow_depth with reading above the COUNT(depth) of uv_index readings sharing the same ts. Script:
readings = fetch( node=Node("snow_depth", code="clr"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "depth", source=Probe("uv_index", code="flx"), match="ts"), ), output="lon", )
{ "outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000252
train
v2
Sensor network script: Node: rainfall | code: thr | fields: ts, depth, type, level Sensor: humidity | fields: value, depth, reading, lon Task: Retrieve depth from rainfall that have at least one matching reading in humidity sharing the same depth. Script:
readings = fetch( node=Node("rainfall", code="thr"), filter=has_match( source=Probe("humidity", code="hgr"), match="depth", ), output="depth", )
{ "outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000253
train
v3
Sensor network script: Node: visibility | code: thr | fields: ts, value, reading, level Sensor: drought_index | fields: qc, reading, lat, level Task: Get value from visibility where value exceeds the total value from drought_index for the same depth. Script:
readings = fetch( node=Node("visibility", code="thr"), filter=exceeds( field="value", threshold=aggregate("SUM", "value", source=Probe("drought_index", code="drt"), match="depth"), ), output="value", )
{ "outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000254
train
v2
Sensor network script: Node: humidity | code: thr | fields: lon, level, reading, value Sensor: turbidity | fields: reading, level, type, lon Task: Retrieve depth from humidity that have at least one matching reading in turbidity sharing the same ts. Script:
readings = fetch( node=Node("humidity", code="thr"), filter=has_match( source=Probe("turbidity", code="ftu"), match="ts", ), output="depth", )
{ "outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000255
train
v3
Sensor network script: Node: pressure | code: thr | fields: ts, reading, level, lat Sensor: sunlight | fields: type, value, lon, qc Task: Fetch depth from pressure where reading is greater than the maximum of reading in sunlight for matching unit. Script:
readings = fetch( node=Node("pressure", code="thr"), filter=exceeds( field="reading", threshold=aggregate("MAX", "reading", source=Probe("sunlight", code="brt"), match="unit"), ), output="depth", )
{ "outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000256
train
v3
Sensor network script: Node: snow_depth | code: ref | fields: lat, unit, lon, ts Sensor: temperature | fields: ts, lat, level, qc Task: Get lat from snow_depth where value exceeds the count of depth from temperature for the same unit. Script:
readings = fetch( node=Node("snow_depth", code="ref"), filter=exceeds( field="value", threshold=aggregate("COUNT", "depth", source=Probe("temperature", code="thr"), match="unit"), ), output="lat", )
{ "outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000257
train
v3
Sensor network script: Node: lightning | code: stn | fields: reading, depth, ts, unit Sensor: turbidity | fields: value, unit, ts, lat Task: Retrieve value from lightning with depth above the MIN(value) of turbidity readings sharing the same depth. Script:
readings = fetch( node=Node("lightning", code="stn"), filter=exceeds( field="depth", threshold=aggregate("MIN", "value", source=Probe("turbidity", code="ftu"), match="depth"), ), output="value", )
{ "outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000258
train
v1
Sensor network script: Node: sunlight | code: thr | fields: ts, value, type, level Sensor: drought_index | fields: value, reading, depth, qc Task: Get value from sunlight where depth appears in drought_index readings with matching qc. Script:
readings = fetch( node=Node("sunlight", code="thr"), filter=set_member( field="depth", source=Probe("drought_index", code="drt"), match="qc", ), output="value", )
{ "outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000259
train
v2
Sensor network script: Node: temperature | code: hub | fields: reading, value, lon, level Sensor: pressure | fields: value, level, reading, ts Task: Get reading from temperature where a corresponding entry exists in pressure with the same depth. Script:
readings = fetch( node=Node("temperature", code="hub"), filter=has_match( source=Probe("pressure", code="mbl"), match="depth", ), output="reading", )
{ "outer_table": "temperature", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000260
train
v1
Sensor network script: Node: humidity | code: hub | fields: reading, qc, lon, lat Sensor: pressure | fields: level, type, unit, reading Task: Fetch lon from humidity where depth exists in pressure sensor data for the same ts. Script:
readings = fetch( node=Node("humidity", code="hub"), filter=set_member( field="depth", source=Probe("pressure", code="mbl"), match="ts", ), output="lon", )
{ "outer_table": "humidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000261
train
v3
Sensor network script: Node: air_quality | code: hub | fields: value, lat, unit, type Sensor: wind_speed | fields: lon, ts, qc, depth Task: Retrieve value from air_quality with value above the AVG(depth) of wind_speed readings sharing the same type. Script:
readings = fetch( node=Node("air_quality", code="hub"), filter=exceeds( field="value", threshold=aggregate("AVG", "depth", source=Probe("wind_speed", code="gst"), match="type"), ), output="value", )
{ "outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000262
train
v3
Sensor network script: Node: lightning | code: mst | fields: depth, ts, reading, value Sensor: wind_speed | fields: level, unit, lon, type Task: Fetch value from lightning where depth is greater than the count of of reading in wind_speed for matching qc. Script:
readings = fetch( node=Node("lightning", code="mst"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "reading", source=Probe("wind_speed", code="gst"), match="qc"), ), output="value", )
{ "outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000263
train
v3
Sensor network script: Node: evaporation | code: ref | fields: reading, value, level, lat Sensor: snow_depth | fields: reading, depth, unit, type Task: Fetch depth from evaporation where depth is greater than the minimum of depth in snow_depth for matching depth. Script:
readings = fetch( node=Node("evaporation", code="ref"), filter=exceeds( field="depth", threshold=aggregate("MIN", "depth", source=Probe("snow_depth", code="snw"), match="depth"), ), output="depth", )
{ "outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000264
train
v1
Sensor network script: Node: rainfall | code: gst | fields: ts, qc, level, value Sensor: sunlight | fields: lat, value, reading, unit Task: Fetch level from rainfall where ts exists in sunlight sensor data for the same ts. Script:
readings = fetch( node=Node("rainfall", code="gst"), filter=set_member( field="ts", source=Probe("sunlight", code="brt"), match="ts", ), output="level", )
{ "outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000265
train
v1
Sensor network script: Node: cloud_cover | code: stn | fields: value, lon, lat, type Sensor: rainfall | fields: unit, value, ts, lon Task: Get lat from cloud_cover where depth appears in rainfall readings with matching unit. Script:
readings = fetch( node=Node("cloud_cover", code="stn"), filter=set_member( field="depth", source=Probe("rainfall", code="rnfl"), match="unit", ), output="lat", )
{ "outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000266
train
v2
Sensor network script: Node: snow_depth | code: ref | fields: lat, lon, type, value Sensor: visibility | fields: depth, lat, ts, lon Task: Get value from snow_depth where a corresponding entry exists in visibility with the same unit. Script:
readings = fetch( node=Node("snow_depth", code="ref"), filter=has_match( source=Probe("visibility", code="clr"), match="unit", ), output="value", )
{ "outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000267
train
v1
Sensor network script: Node: soil_moisture | code: stn | fields: reading, type, level, depth Sensor: wind_speed | fields: level, reading, qc, depth Task: Retrieve level from soil_moisture whose unit is found in wind_speed records where ts matches the outer node. Script:
readings = fetch( node=Node("soil_moisture", code="stn"), filter=set_member( field="unit", source=Probe("wind_speed", code="gst"), match="ts", ), output="level", )
{ "outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000268
train
v2
Sensor network script: Node: dew_point | code: thr | fields: ts, reading, value, depth Sensor: soil_moisture | fields: qc, depth, lon, value Task: Fetch lon from dew_point that have at least one corresponding soil_moisture measurement for the same qc. Script:
readings = fetch( node=Node("dew_point", code="thr"), filter=has_match( source=Probe("soil_moisture", code="grvl"), match="qc", ), output="lon", )
{ "outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000269
train
v2
Sensor network script: Node: wind_speed | code: stn | fields: unit, reading, lat, level Sensor: humidity | fields: qc, type, depth, unit Task: Fetch reading from wind_speed that have at least one corresponding humidity measurement for the same depth. Script:
readings = fetch( node=Node("wind_speed", code="stn"), filter=has_match( source=Probe("humidity", code="hgr"), match="depth", ), output="reading", )
{ "outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000270
train
v1
Sensor network script: Node: humidity | code: hub | fields: value, lon, ts, type Sensor: cloud_cover | fields: value, type, qc, level Task: Get level from humidity where qc appears in cloud_cover readings with matching type. Script:
readings = fetch( node=Node("humidity", code="hub"), filter=set_member( field="qc", source=Probe("cloud_cover", code="nbl"), match="type", ), output="level", )
{ "outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000271
train
v3
Sensor network script: Node: air_quality | code: prt | fields: ts, level, unit, lat Sensor: visibility | fields: type, ts, unit, qc Task: Get lat from air_quality where reading exceeds the minimum reading from visibility for the same type. Script:
readings = fetch( node=Node("air_quality", code="prt"), filter=exceeds( field="reading", threshold=aggregate("MIN", "reading", source=Probe("visibility", code="clr"), match="type"), ), output="lat", )
{ "outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000272
train
v3
Sensor network script: Node: sunlight | code: clr | fields: reading, level, type, lat Sensor: air_quality | fields: reading, value, unit, type Task: Get lon from sunlight where depth exceeds the total depth from air_quality for the same type. Script:
readings = fetch( node=Node("sunlight", code="clr"), filter=exceeds( field="depth", threshold=aggregate("SUM", "depth", source=Probe("air_quality", code="prt"), match="type"), ), output="lon", )
{ "outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000273
train
v1
Sensor network script: Node: sunlight | code: clr | fields: value, ts, level, lon Sensor: humidity | fields: lon, qc, type, value Task: Fetch lon from sunlight where qc exists in humidity sensor data for the same unit. Script:
readings = fetch( node=Node("sunlight", code="clr"), filter=set_member( field="qc", source=Probe("humidity", code="hgr"), match="unit", ), output="lon", )
{ "outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000274
train
v1
Sensor network script: Node: wind_speed | code: thr | fields: type, value, reading, level Sensor: frost | fields: lat, level, lon, ts Task: Retrieve value from wind_speed whose unit is found in frost records where qc matches the outer node. Script:
readings = fetch( node=Node("wind_speed", code="thr"), filter=set_member( field="unit", source=Probe("frost", code="frs"), match="qc", ), output="value", )
{ "outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000275
train
v3
Sensor network script: Node: evaporation | code: ref | fields: lon, level, depth, type Sensor: air_quality | fields: depth, unit, lon, type Task: Retrieve reading from evaporation with reading above the AVG(value) of air_quality readings sharing the same type. Script:
readings = fetch( node=Node("evaporation", code="ref"), filter=exceeds( field="reading", threshold=aggregate("AVG", "value", source=Probe("air_quality", code="prt"), match="type"), ), output="reading", )
{ "outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000276
train
v2
Sensor network script: Node: temperature | code: thr | fields: depth, type, reading, unit Sensor: soil_moisture | fields: lat, level, unit, depth Task: Get value from temperature where a corresponding entry exists in soil_moisture with the same ts. Script:
readings = fetch( node=Node("temperature", code="thr"), filter=has_match( source=Probe("soil_moisture", code="grvl"), match="ts", ), output="value", )
{ "outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000277
train
v2
Sensor network script: Node: temperature | code: prt | fields: ts, reading, type, lat Sensor: pressure | fields: reading, level, ts, qc Task: Retrieve reading from temperature that have at least one matching reading in pressure sharing the same depth. Script:
readings = fetch( node=Node("temperature", code="prt"), filter=has_match( source=Probe("pressure", code="mbl"), match="depth", ), output="reading", )
{ "outer_table": "temperature", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000278
train
v2
Sensor network script: Node: dew_point | code: ref | fields: lon, depth, value, type Sensor: frost | fields: type, reading, qc, depth Task: Fetch reading from dew_point that have at least one corresponding frost measurement for the same type. Script:
readings = fetch( node=Node("dew_point", code="ref"), filter=has_match( source=Probe("frost", code="frs"), match="type", ), output="reading", )
{ "outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000279
train
v2
Sensor network script: Node: frost | code: stn | fields: level, depth, qc, unit Sensor: air_quality | fields: level, qc, lon, unit Task: Fetch value from frost that have at least one corresponding air_quality measurement for the same qc. Script:
readings = fetch( node=Node("frost", code="stn"), filter=has_match( source=Probe("air_quality", code="prt"), match="qc", ), output="value", )
{ "outer_table": "frost", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000280
train
v2
Sensor network script: Node: cloud_cover | code: hub | fields: qc, reading, value, unit Sensor: rainfall | fields: lon, type, unit, qc Task: Fetch reading from cloud_cover that have at least one corresponding rainfall measurement for the same ts. Script:
readings = fetch( node=Node("cloud_cover", code="hub"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="ts", ), output="reading", )
{ "outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000281
train
v3
Sensor network script: Node: lightning | code: clr | fields: reading, depth, lon, qc Sensor: wind_speed | fields: reading, type, qc, lat Task: Retrieve value from lightning with value above the MIN(reading) of wind_speed readings sharing the same ts. Script:
readings = fetch( node=Node("lightning", code="clr"), filter=exceeds( field="value", threshold=aggregate("MIN", "reading", source=Probe("wind_speed", code="gst"), match="ts"), ), output="value", )
{ "outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000282
train
v2
Sensor network script: Node: frost | code: stn | fields: lat, value, lon, qc Sensor: turbidity | fields: unit, depth, level, lon Task: Retrieve value from frost that have at least one matching reading in turbidity sharing the same unit. Script:
readings = fetch( node=Node("frost", code="stn"), filter=has_match( source=Probe("turbidity", code="ftu"), match="unit", ), output="value", )
{ "outer_table": "frost", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000283
train
v3
Sensor network script: Node: evaporation | code: gst | fields: reading, type, ts, value Sensor: visibility | fields: lon, level, reading, type Task: Get lon from evaporation where value exceeds the maximum reading from visibility for the same type. Script:
readings = fetch( node=Node("evaporation", code="gst"), filter=exceeds( field="value", threshold=aggregate("MAX", "reading", source=Probe("visibility", code="clr"), match="type"), ), output="lon", )
{ "outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000284
train
v3
Sensor network script: Node: rainfall | code: prt | fields: depth, level, reading, lon Sensor: frost | fields: unit, reading, ts, lat Task: Retrieve depth from rainfall with reading above the MIN(reading) of frost readings sharing the same depth. Script:
readings = fetch( node=Node("rainfall", code="prt"), filter=exceeds( field="reading", threshold=aggregate("MIN", "reading", source=Probe("frost", code="frs"), match="depth"), ), output="depth", )
{ "outer_table": "rainfall", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000285
train
v3
Sensor network script: Node: drought_index | code: gst | fields: depth, ts, value, lat Sensor: lightning | fields: value, depth, lon, qc Task: Fetch lat from drought_index where depth is greater than the maximum of depth in lightning for matching depth. Script:
readings = fetch( node=Node("drought_index", code="gst"), filter=exceeds( field="depth", threshold=aggregate("MAX", "depth", source=Probe("lightning", code="tnd"), match="depth"), ), output="lat", )
{ "outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000286
train
v1
Sensor network script: Node: wind_speed | code: mst | fields: depth, lon, qc, value Sensor: drought_index | fields: lon, reading, qc, level Task: Get level from wind_speed where type appears in drought_index readings with matching qc. Script:
readings = fetch( node=Node("wind_speed", code="mst"), filter=set_member( field="type", source=Probe("drought_index", code="drt"), match="qc", ), output="level", )
{ "outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000287
train
v1
Sensor network script: Node: temperature | code: gst | fields: depth, ts, lon, type Sensor: humidity | fields: reading, depth, level, type Task: Retrieve level from temperature whose qc is found in humidity records where qc matches the outer node. Script:
readings = fetch( node=Node("temperature", code="gst"), filter=set_member( field="qc", source=Probe("humidity", code="hgr"), match="qc", ), output="level", )
{ "outer_table": "temperature", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000288
train
v1
Sensor network script: Node: cloud_cover | code: mst | fields: type, depth, lon, unit Sensor: uv_index | fields: ts, qc, level, lon Task: Get level from cloud_cover where ts appears in uv_index readings with matching depth. Script:
readings = fetch( node=Node("cloud_cover", code="mst"), filter=set_member( field="ts", source=Probe("uv_index", code="flx"), match="depth", ), output="level", )
{ "outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000289
train
v2
Sensor network script: Node: humidity | code: mst | fields: ts, type, unit, reading Sensor: lightning | fields: lat, value, ts, depth Task: Fetch lat from humidity that have at least one corresponding lightning measurement for the same ts. Script:
readings = fetch( node=Node("humidity", code="mst"), filter=has_match( source=Probe("lightning", code="tnd"), match="ts", ), output="lat", )
{ "outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000290
train
v3
Sensor network script: Node: pressure | code: thr | fields: value, level, reading, lat Sensor: soil_moisture | fields: value, depth, unit, qc Task: Retrieve lon from pressure with reading above the MIN(depth) of soil_moisture readings sharing the same type. Script:
readings = fetch( node=Node("pressure", code="thr"), filter=exceeds( field="reading", threshold=aggregate("MIN", "depth", source=Probe("soil_moisture", code="grvl"), match="type"), ), output="lon", )
{ "outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000291
train
v1
Sensor network script: Node: snow_depth | code: thr | fields: value, reading, level, lat Sensor: air_quality | fields: lon, lat, depth, ts Task: Retrieve lat from snow_depth whose type is found in air_quality records where qc matches the outer node. Script:
readings = fetch( node=Node("snow_depth", code="thr"), filter=set_member( field="type", source=Probe("air_quality", code="prt"), match="qc", ), output="lat", )
{ "outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000292
train
v3
Sensor network script: Node: wind_speed | code: stn | fields: type, lat, unit, reading Sensor: visibility | fields: reading, depth, value, lon Task: Fetch depth from wind_speed where value is greater than the minimum of reading in visibility for matching unit. Script:
readings = fetch( node=Node("wind_speed", code="stn"), filter=exceeds( field="value", threshold=aggregate("MIN", "reading", source=Probe("visibility", code="clr"), match="unit"), ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000293
train
v1
Sensor network script: Node: snow_depth | code: thr | fields: level, unit, lat, value Sensor: uv_index | fields: qc, lon, ts, reading Task: Retrieve lon from snow_depth whose qc is found in uv_index records where qc matches the outer node. Script:
readings = fetch( node=Node("snow_depth", code="thr"), filter=set_member( field="qc", source=Probe("uv_index", code="flx"), match="qc", ), output="lon", )
{ "outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000294
train
v2
Sensor network script: Node: lightning | code: stn | fields: level, lon, qc, ts Sensor: turbidity | fields: reading, qc, type, level Task: Retrieve level from lightning that have at least one matching reading in turbidity sharing the same unit. Script:
readings = fetch( node=Node("lightning", code="stn"), filter=has_match( source=Probe("turbidity", code="ftu"), match="unit", ), output="level", )
{ "outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000295
train
v3
Sensor network script: Node: sunlight | code: mst | fields: ts, value, type, lat Sensor: evaporation | fields: ts, lat, value, qc Task: Retrieve reading from sunlight with value above the MIN(depth) of evaporation readings sharing the same unit. Script:
readings = fetch( node=Node("sunlight", code="mst"), filter=exceeds( field="value", threshold=aggregate("MIN", "depth", source=Probe("evaporation", code="evp"), match="unit"), ), output="reading", )
{ "outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000296
train
v1
Sensor network script: Node: air_quality | code: prt | fields: ts, type, value, qc Sensor: frost | fields: unit, ts, value, qc Task: Get reading from air_quality where qc appears in frost readings with matching ts. Script:
readings = fetch( node=Node("air_quality", code="prt"), filter=set_member( field="qc", source=Probe("frost", code="frs"), match="ts", ), output="reading", )
{ "outer_table": "air_quality", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000297
train
v1
Sensor network script: Node: sunlight | code: gst | fields: ts, lat, lon, reading Sensor: soil_moisture | fields: lat, reading, depth, level Task: Retrieve depth from sunlight whose depth is found in soil_moisture records where ts matches the outer node. Script:
readings = fetch( node=Node("sunlight", code="gst"), filter=set_member( field="depth", source=Probe("soil_moisture", code="grvl"), match="ts", ), output="depth", )
{ "outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000298
train
v1
Sensor network script: Node: air_quality | code: mst | fields: lon, ts, type, value Sensor: pressure | fields: value, qc, lat, depth Task: Fetch depth from air_quality where qc exists in pressure sensor data for the same qc. Script:
readings = fetch( node=Node("air_quality", code="mst"), filter=set_member( field="qc", source=Probe("pressure", code="mbl"), match="qc", ), output="depth", )
{ "outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000299
train