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: drought_index | code: prt | fields: level, qc, depth, value Sensor: rainfall | fields: unit, type, depth, lon Task: Get depth from drought_index where a corresponding entry exists in rainfall with the same qc. Script:
readings = fetch( node=Node("drought_index", code="prt"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="qc", ), output="depth", )
{ "outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000500
train
v2
Sensor network script: Node: snow_depth | code: mst | fields: reading, lon, type, unit Sensor: uv_index | fields: qc, reading, type, value Task: Fetch value from snow_depth that have at least one corresponding uv_index measurement for the same type. Script:
readings = fetch( node=Node("snow_depth", code="mst"), filter=has_match( source=Probe("uv_index", code="flx"), match="type", ), output="value", )
{ "outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000501
train
v3
Sensor network script: Node: drought_index | code: stn | fields: reading, depth, type, lat Sensor: visibility | fields: level, value, reading, lon Task: Fetch depth from drought_index where depth is greater than the average of value in visibility for matching unit. Script:
readings = fetch( node=Node("drought_index", code="stn"), filter=exceeds( field="depth", threshold=aggregate("AVG", "value", source=Probe("visibility", code="clr"), match="unit"), ), output="depth", )
{ "outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000502
train
v3
Sensor network script: Node: dew_point | code: gst | fields: reading, lat, unit, level Sensor: drought_index | fields: qc, unit, lat, reading Task: Get lon from dew_point where value exceeds the average depth from drought_index for the same qc. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=exceeds( field="value", threshold=aggregate("AVG", "depth", source=Probe("drought_index", code="drt"), match="qc"), ), output="lon", )
{ "outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000503
train
v3
Sensor network script: Node: air_quality | code: mst | fields: type, level, ts, value Sensor: evaporation | fields: depth, lon, lat, qc Task: Get level from air_quality where reading exceeds the count of depth from evaporation for the same qc. Script:
readings = fetch( node=Node("air_quality", code="mst"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "depth", source=Probe("evaporation", code="evp"), match="qc"), ), output="level", )
{ "outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000504
train
v2
Sensor network script: Node: temperature | code: stn | fields: depth, ts, lat, lon Sensor: drought_index | fields: reading, level, type, unit Task: Get value from temperature where a corresponding entry exists in drought_index with the same depth. Script:
readings = fetch( node=Node("temperature", code="stn"), filter=has_match( source=Probe("drought_index", code="drt"), match="depth", ), output="value", )
{ "outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000505
train
v3
Sensor network script: Node: soil_moisture | code: hub | fields: ts, level, reading, unit Sensor: cloud_cover | fields: unit, level, lon, reading Task: Get level from soil_moisture where depth exceeds the maximum value from cloud_cover for the same qc. Script:
readings = fetch( node=Node("soil_moisture", code="hub"), filter=exceeds( field="depth", threshold=aggregate("MAX", "value", source=Probe("cloud_cover", code="nbl"), match="qc"), ), output="level", )
{ "outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000506
train
v2
Sensor network script: Node: frost | code: mst | fields: lon, lat, level, reading Sensor: sunlight | fields: depth, ts, value, unit Task: Fetch lat from frost that have at least one corresponding sunlight measurement for the same unit. Script:
readings = fetch( node=Node("frost", code="mst"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="lat", )
{ "outer_table": "frost", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000507
train
v2
Sensor network script: Node: air_quality | code: stn | fields: qc, reading, level, value Sensor: dew_point | fields: reading, unit, qc, ts Task: Get level from air_quality where a corresponding entry exists in dew_point with the same ts. Script:
readings = fetch( node=Node("air_quality", code="stn"), filter=has_match( source=Probe("dew_point", code="cnd"), match="ts", ), output="level", )
{ "outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000508
train
v2
Sensor network script: Node: uv_index | code: stn | fields: level, unit, ts, reading Sensor: frost | fields: lon, ts, depth, reading Task: Get value from uv_index where a corresponding entry exists in frost with the same ts. Script:
readings = fetch( node=Node("uv_index", code="stn"), filter=has_match( source=Probe("frost", code="frs"), match="ts", ), output="value", )
{ "outer_table": "uv_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000509
train
v1
Sensor network script: Node: wind_speed | code: hub | fields: type, depth, value, reading Sensor: air_quality | fields: unit, level, reading, qc Task: Get depth from wind_speed where qc appears in air_quality readings with matching qc. Script:
readings = fetch( node=Node("wind_speed", code="hub"), filter=set_member( field="qc", source=Probe("air_quality", code="prt"), match="qc", ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000510
train
v3
Sensor network script: Node: dew_point | code: thr | fields: qc, reading, lon, lat Sensor: cloud_cover | fields: type, unit, lat, depth Task: Fetch level from dew_point where value is greater than the maximum of value in cloud_cover for matching qc. Script:
readings = fetch( node=Node("dew_point", code="thr"), filter=exceeds( field="value", threshold=aggregate("MAX", "value", source=Probe("cloud_cover", code="nbl"), match="qc"), ), output="level", )
{ "outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000511
train
v3
Sensor network script: Node: temperature | code: mst | fields: lon, type, depth, unit Sensor: humidity | fields: type, level, qc, lon Task: Fetch lon from temperature where reading is greater than the minimum of value in humidity for matching unit. Script:
readings = fetch( node=Node("temperature", code="mst"), filter=exceeds( field="reading", threshold=aggregate("MIN", "value", source=Probe("humidity", code="hgr"), match="unit"), ), output="lon", )
{ "outer_table": "temperature", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000512
train
v1
Sensor network script: Node: snow_depth | code: thr | fields: ts, qc, lat, lon Sensor: turbidity | fields: lat, unit, qc, value Task: Retrieve reading from snow_depth whose type is found in turbidity records where unit matches the outer node. Script:
readings = fetch( node=Node("snow_depth", code="thr"), filter=set_member( field="type", source=Probe("turbidity", code="ftu"), match="unit", ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000513
train
v1
Sensor network script: Node: dew_point | code: thr | fields: qc, ts, depth, lon Sensor: humidity | fields: lat, value, lon, level Task: Get value from dew_point where type appears in humidity readings with matching unit. Script:
readings = fetch( node=Node("dew_point", code="thr"), filter=set_member( field="type", source=Probe("humidity", code="hgr"), match="unit", ), output="value", )
{ "outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000514
train
v2
Sensor network script: Node: air_quality | code: prt | fields: unit, level, reading, ts Sensor: temperature | fields: lon, lat, reading, qc Task: Get value from air_quality where a corresponding entry exists in temperature with the same unit. Script:
readings = fetch( node=Node("air_quality", code="prt"), filter=has_match( source=Probe("temperature", code="thr"), match="unit", ), output="value", )
{ "outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000515
train
v2
Sensor network script: Node: wind_speed | code: stn | fields: level, lon, ts, qc Sensor: pressure | fields: value, lat, qc, reading Task: Retrieve reading from wind_speed that have at least one matching reading in pressure sharing the same ts. Script:
readings = fetch( node=Node("wind_speed", code="stn"), filter=has_match( source=Probe("pressure", code="mbl"), match="ts", ), output="reading", )
{ "outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000516
train
v1
Sensor network script: Node: humidity | code: thr | fields: level, lon, value, ts Sensor: air_quality | fields: type, unit, ts, lon Task: Get level from humidity where type appears in air_quality readings with matching ts. Script:
readings = fetch( node=Node("humidity", code="thr"), filter=set_member( field="type", source=Probe("air_quality", code="prt"), match="ts", ), output="level", )
{ "outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000517
train
v1
Sensor network script: Node: wind_speed | code: hub | fields: ts, value, lat, type Sensor: pressure | fields: level, depth, reading, type Task: Retrieve level from wind_speed whose qc is found in pressure records where type matches the outer node. Script:
readings = fetch( node=Node("wind_speed", code="hub"), filter=set_member( field="qc", source=Probe("pressure", code="mbl"), match="type", ), output="level", )
{ "outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000518
train
v1
Sensor network script: Node: rainfall | code: ref | fields: unit, value, ts, type Sensor: humidity | fields: type, ts, lon, value Task: Get lon from rainfall where unit appears in humidity readings with matching ts. Script:
readings = fetch( node=Node("rainfall", code="ref"), filter=set_member( field="unit", source=Probe("humidity", code="hgr"), match="ts", ), output="lon", )
{ "outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000519
train
v3
Sensor network script: Node: dew_point | code: thr | fields: level, unit, lat, depth Sensor: evaporation | fields: reading, type, qc, depth Task: Get depth from dew_point where depth exceeds the count of value from evaporation for the same qc. Script:
readings = fetch( node=Node("dew_point", code="thr"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("evaporation", code="evp"), match="qc"), ), output="depth", )
{ "outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "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_000520
train
v1
Sensor network script: Node: wind_speed | code: ref | fields: depth, type, qc, reading Sensor: turbidity | fields: level, ts, lat, qc Task: Get lon from wind_speed where ts appears in turbidity readings with matching depth. Script:
readings = fetch( node=Node("wind_speed", code="ref"), filter=set_member( field="ts", source=Probe("turbidity", code="ftu"), match="depth", ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000521
train
v2
Sensor network script: Node: snow_depth | code: hub | fields: value, type, ts, qc Sensor: sunlight | fields: qc, ts, depth, level Task: Retrieve reading from snow_depth that have at least one matching reading in sunlight sharing the same unit. Script:
readings = fetch( node=Node("snow_depth", code="hub"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="reading", )
{ "outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000522
train
v2
Sensor network script: Node: rainfall | code: prt | fields: unit, reading, ts, type Sensor: snow_depth | fields: level, lat, qc, unit Task: Retrieve value from rainfall that have at least one matching reading in snow_depth sharing the same depth. Script:
readings = fetch( node=Node("rainfall", code="prt"), filter=has_match( source=Probe("snow_depth", code="snw"), match="depth", ), output="value", )
{ "outer_table": "rainfall", "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_000523
train
v1
Sensor network script: Node: temperature | code: stn | fields: unit, reading, qc, lon Sensor: cloud_cover | fields: ts, lat, qc, unit Task: Fetch reading from temperature where unit exists in cloud_cover sensor data for the same unit. Script:
readings = fetch( node=Node("temperature", code="stn"), filter=set_member( field="unit", source=Probe("cloud_cover", code="nbl"), match="unit", ), output="reading", )
{ "outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000524
train
v1
Sensor network script: Node: humidity | code: stn | fields: reading, level, lon, type Sensor: evaporation | fields: reading, type, lon, qc Task: Fetch reading from humidity where ts exists in evaporation sensor data for the same qc. Script:
readings = fetch( node=Node("humidity", code="stn"), filter=set_member( field="ts", source=Probe("evaporation", code="evp"), match="qc", ), output="reading", )
{ "outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000525
train
v3
Sensor network script: Node: air_quality | code: ref | fields: lat, ts, type, lon Sensor: rainfall | fields: lat, lon, qc, type Task: Fetch level from air_quality where value is greater than the total of value in rainfall for matching depth. Script:
readings = fetch( node=Node("air_quality", code="ref"), filter=exceeds( field="value", threshold=aggregate("SUM", "value", source=Probe("rainfall", code="rnfl"), match="depth"), ), output="level", )
{ "outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000526
train
v3
Sensor network script: Node: humidity | code: clr | fields: depth, reading, level, lon Sensor: pressure | fields: level, ts, value, depth Task: Fetch lon from humidity where value is greater than the average of depth in pressure for matching type. Script:
readings = fetch( node=Node("humidity", code="clr"), filter=exceeds( field="value", threshold=aggregate("AVG", "depth", source=Probe("pressure", code="mbl"), match="type"), ), output="lon", )
{ "outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000527
train
v2
Sensor network script: Node: turbidity | code: stn | fields: ts, depth, value, lon Sensor: sunlight | fields: lat, qc, reading, unit Task: Get value from turbidity where a corresponding entry exists in sunlight with the same unit. Script:
readings = fetch( node=Node("turbidity", code="stn"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="value", )
{ "outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000528
train
v3
Sensor network script: Node: air_quality | code: hub | fields: type, lat, level, depth Sensor: rainfall | fields: value, reading, type, lon Task: Retrieve level from air_quality with reading above the AVG(depth) of rainfall readings sharing the same ts. Script:
readings = fetch( node=Node("air_quality", code="hub"), filter=exceeds( field="reading", threshold=aggregate("AVG", "depth", source=Probe("rainfall", code="rnfl"), match="ts"), ), output="level", )
{ "outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000529
train
v1
Sensor network script: Node: visibility | code: clr | fields: lat, qc, unit, level Sensor: humidity | fields: unit, depth, lat, level Task: Retrieve value from visibility whose depth is found in humidity records where ts matches the outer node. Script:
readings = fetch( node=Node("visibility", code="clr"), filter=set_member( field="depth", source=Probe("humidity", code="hgr"), match="ts", ), output="value", )
{ "outer_table": "visibility", "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_000530
train
v1
Sensor network script: Node: wind_speed | code: thr | fields: lat, ts, reading, lon Sensor: dew_point | fields: unit, qc, level, lat Task: Get depth from wind_speed where qc appears in dew_point readings with matching unit. Script:
readings = fetch( node=Node("wind_speed", code="thr"), filter=set_member( field="qc", source=Probe("dew_point", code="cnd"), match="unit", ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000531
train
v2
Sensor network script: Node: cloud_cover | code: gst | fields: value, depth, qc, ts Sensor: rainfall | fields: lon, level, value, qc Task: Retrieve lat from cloud_cover that have at least one matching reading in rainfall sharing the same type. Script:
readings = fetch( node=Node("cloud_cover", code="gst"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="type", ), output="lat", )
{ "outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000532
train
v2
Sensor network script: Node: soil_moisture | code: clr | fields: unit, level, lat, lon Sensor: uv_index | fields: qc, value, reading, lon Task: Fetch value from soil_moisture that have at least one corresponding uv_index measurement for the same type. Script:
readings = fetch( node=Node("soil_moisture", code="clr"), filter=has_match( source=Probe("uv_index", code="flx"), match="type", ), output="value", )
{ "outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000533
train
v3
Sensor network script: Node: frost | code: hub | fields: value, type, depth, qc Sensor: air_quality | fields: unit, reading, lat, value Task: Get lon from frost where reading exceeds the count of value from air_quality for the same qc. Script:
readings = fetch( node=Node("frost", code="hub"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "value", source=Probe("air_quality", code="prt"), match="qc"), ), output="lon", )
{ "outer_table": "frost", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000534
train
v1
Sensor network script: Node: pressure | code: stn | fields: level, type, lon, depth Sensor: air_quality | fields: reading, lat, type, unit Task: Retrieve lon from pressure whose depth is found in air_quality records where type matches the outer node. Script:
readings = fetch( node=Node("pressure", code="stn"), filter=set_member( field="depth", source=Probe("air_quality", code="prt"), match="type", ), output="lon", )
{ "outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000535
train
v2
Sensor network script: Node: lightning | code: mst | fields: unit, qc, lat, reading Sensor: visibility | fields: type, level, qc, depth Task: Fetch depth from lightning that have at least one corresponding visibility measurement for the same ts. Script:
readings = fetch( node=Node("lightning", code="mst"), filter=has_match( source=Probe("visibility", code="clr"), match="ts", ), output="depth", )
{ "outer_table": "lightning", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000536
train
v1
Sensor network script: Node: humidity | code: hub | fields: depth, level, lon, lat Sensor: evaporation | fields: type, reading, qc, lat Task: Retrieve lon from humidity whose type is found in evaporation records where type matches the outer node. Script:
readings = fetch( node=Node("humidity", code="hub"), filter=set_member( field="type", source=Probe("evaporation", code="evp"), match="type", ), output="lon", )
{ "outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000537
train
v2
Sensor network script: Node: humidity | code: stn | fields: lat, ts, unit, depth Sensor: turbidity | fields: type, lon, unit, value Task: Get value from humidity where a corresponding entry exists in turbidity with the same ts. Script:
readings = fetch( node=Node("humidity", code="stn"), filter=has_match( source=Probe("turbidity", code="ftu"), match="ts", ), output="value", )
{ "outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000538
train
v1
Sensor network script: Node: frost | code: gst | fields: unit, lat, reading, ts Sensor: visibility | fields: unit, reading, ts, lon Task: Get depth from frost where unit appears in visibility readings with matching qc. Script:
readings = fetch( node=Node("frost", code="gst"), filter=set_member( field="unit", source=Probe("visibility", code="clr"), match="qc", ), output="depth", )
{ "outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000539
train
v3
Sensor network script: Node: temperature | code: clr | fields: unit, type, lon, qc Sensor: evaporation | fields: type, ts, qc, reading Task: Retrieve lon from temperature with reading above the SUM(depth) of evaporation readings sharing the same qc. Script:
readings = fetch( node=Node("temperature", code="clr"), filter=exceeds( field="reading", threshold=aggregate("SUM", "depth", source=Probe("evaporation", code="evp"), match="qc"), ), output="lon", )
{ "outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000540
train
v1
Sensor network script: Node: evaporation | code: prt | fields: ts, level, unit, lon Sensor: drought_index | fields: lon, type, depth, level Task: Fetch level from evaporation where depth exists in drought_index sensor data for the same ts. Script:
readings = fetch( node=Node("evaporation", code="prt"), filter=set_member( field="depth", source=Probe("drought_index", code="drt"), match="ts", ), output="level", )
{ "outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000541
train
v1
Sensor network script: Node: turbidity | code: stn | fields: lon, level, value, type Sensor: air_quality | fields: depth, level, qc, reading Task: Retrieve lon from turbidity whose qc is found in air_quality records where qc matches the outer node. Script:
readings = fetch( node=Node("turbidity", code="stn"), filter=set_member( field="qc", source=Probe("air_quality", code="prt"), match="qc", ), output="lon", )
{ "outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000542
train
v1
Sensor network script: Node: pressure | code: ref | fields: qc, ts, unit, value Sensor: turbidity | fields: qc, reading, ts, type Task: Get lat from pressure where depth appears in turbidity readings with matching type. Script:
readings = fetch( node=Node("pressure", code="ref"), filter=set_member( field="depth", source=Probe("turbidity", code="ftu"), match="type", ), output="lat", )
{ "outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000543
train
v3
Sensor network script: Node: lightning | code: mst | fields: ts, qc, level, unit Sensor: temperature | fields: level, ts, lat, unit Task: Fetch value from lightning where depth is greater than the minimum of reading in temperature for matching depth. Script:
readings = fetch( node=Node("lightning", code="mst"), filter=exceeds( field="depth", threshold=aggregate("MIN", "reading", source=Probe("temperature", code="thr"), match="depth"), ), output="value", )
{ "outer_table": "lightning", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000544
train
v3
Sensor network script: Node: dew_point | code: gst | fields: qc, reading, depth, ts Sensor: air_quality | fields: qc, lon, reading, lat Task: Fetch lat from dew_point where value is greater than the count of of depth in air_quality for matching depth. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=exceeds( field="value", threshold=aggregate("COUNT", "depth", source=Probe("air_quality", code="prt"), match="depth"), ), output="lat", )
{ "outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000545
train
v1
Sensor network script: Node: rainfall | code: clr | fields: reading, lat, lon, type Sensor: soil_moisture | fields: lat, depth, level, reading Task: Get lon from rainfall where unit appears in soil_moisture readings with matching type. Script:
readings = fetch( node=Node("rainfall", code="clr"), filter=set_member( field="unit", source=Probe("soil_moisture", code="grvl"), match="type", ), output="lon", )
{ "outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000546
train
v1
Sensor network script: Node: frost | code: mst | fields: type, lon, ts, level Sensor: drought_index | fields: reading, ts, lon, unit Task: Retrieve level from frost whose ts is found in drought_index records where ts matches the outer node. Script:
readings = fetch( node=Node("frost", code="mst"), filter=set_member( field="ts", source=Probe("drought_index", code="drt"), match="ts", ), output="level", )
{ "outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000547
train
v1
Sensor network script: Node: visibility | code: thr | fields: reading, lon, depth, ts Sensor: evaporation | fields: depth, qc, unit, level Task: Retrieve lat from visibility whose depth is found in evaporation records where ts matches the outer node. Script:
readings = fetch( node=Node("visibility", code="thr"), filter=set_member( field="depth", source=Probe("evaporation", code="evp"), match="ts", ), output="lat", )
{ "outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000548
train
v1
Sensor network script: Node: uv_index | code: thr | fields: ts, lat, level, reading Sensor: snow_depth | fields: lon, reading, unit, type Task: Fetch value from uv_index where depth exists in snow_depth sensor data for the same qc. Script:
readings = fetch( node=Node("uv_index", code="thr"), filter=set_member( field="depth", source=Probe("snow_depth", code="snw"), match="qc", ), output="value", )
{ "outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000549
train
v1
Sensor network script: Node: drought_index | code: mst | fields: value, unit, lat, depth Sensor: snow_depth | fields: depth, unit, value, lat Task: Get reading from drought_index where ts appears in snow_depth readings with matching depth. Script:
readings = fetch( node=Node("drought_index", code="mst"), filter=set_member( field="ts", source=Probe("snow_depth", code="snw"), match="depth", ), output="reading", )
{ "outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000550
train
v2
Sensor network script: Node: drought_index | code: ref | fields: lat, level, ts, lon Sensor: frost | fields: depth, unit, type, reading Task: Retrieve reading from drought_index that have at least one matching reading in frost sharing the same unit. Script:
readings = fetch( node=Node("drought_index", code="ref"), filter=has_match( source=Probe("frost", code="frs"), match="unit", ), output="reading", )
{ "outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000551
train
v1
Sensor network script: Node: uv_index | code: gst | fields: reading, type, level, lon Sensor: air_quality | fields: type, qc, depth, unit Task: Retrieve lon from uv_index whose depth is found in air_quality records where type matches the outer node. Script:
readings = fetch( node=Node("uv_index", code="gst"), filter=set_member( field="depth", source=Probe("air_quality", code="prt"), match="type", ), output="lon", )
{ "outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000552
train
v2
Sensor network script: Node: visibility | code: prt | fields: value, level, depth, ts Sensor: sunlight | fields: type, unit, depth, lon Task: Get reading from visibility where a corresponding entry exists in sunlight with the same unit. Script:
readings = fetch( node=Node("visibility", code="prt"), filter=has_match( source=Probe("sunlight", code="brt"), match="unit", ), output="reading", )
{ "outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000553
train
v3
Sensor network script: Node: lightning | code: thr | fields: type, qc, lon, ts Sensor: visibility | fields: unit, value, lat, level Task: Fetch reading from lightning where depth is greater than the maximum of value in visibility for matching type. Script:
readings = fetch( node=Node("lightning", code="thr"), filter=exceeds( field="depth", threshold=aggregate("MAX", "value", source=Probe("visibility", code="clr"), match="type"), ), output="reading", )
{ "outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000554
train
v2
Sensor network script: Node: frost | code: stn | fields: level, depth, unit, type Sensor: air_quality | fields: unit, lon, level, reading Task: Fetch lon from frost that have at least one corresponding air_quality measurement for the same type. Script:
readings = fetch( node=Node("frost", code="stn"), filter=has_match( source=Probe("air_quality", code="prt"), match="type", ), output="lon", )
{ "outer_table": "frost", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000555
train
v2
Sensor network script: Node: dew_point | code: gst | fields: lat, unit, lon, qc Sensor: cloud_cover | fields: depth, level, unit, lon Task: Get level from dew_point where a corresponding entry exists in cloud_cover with the same unit. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=has_match( source=Probe("cloud_cover", code="nbl"), match="unit", ), output="level", )
{ "outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000556
train
v3
Sensor network script: Node: evaporation | code: mst | fields: lon, depth, unit, value Sensor: snow_depth | fields: type, level, value, lat Task: Get reading from evaporation where depth exceeds the count of value from snow_depth for the same qc. Script:
readings = fetch( node=Node("evaporation", code="mst"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("snow_depth", code="snw"), match="qc"), ), output="reading", )
{ "outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000557
train
v3
Sensor network script: Node: snow_depth | code: gst | fields: unit, lon, level, depth Sensor: humidity | fields: qc, lat, level, depth Task: Retrieve lat from snow_depth with reading above the MAX(reading) of humidity readings sharing the same ts. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=exceeds( field="reading", threshold=aggregate("MAX", "reading", source=Probe("humidity", code="hgr"), match="ts"), ), output="lat", )
{ "outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000558
train
v2
Sensor network script: Node: sunlight | code: ref | fields: qc, lat, lon, unit Sensor: frost | fields: qc, ts, value, reading Task: Fetch depth from sunlight that have at least one corresponding frost measurement for the same qc. Script:
readings = fetch( node=Node("sunlight", code="ref"), filter=has_match( source=Probe("frost", code="frs"), match="qc", ), output="depth", )
{ "outer_table": "sunlight", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000559
train
v3
Sensor network script: Node: rainfall | code: prt | fields: reading, unit, qc, level Sensor: uv_index | fields: type, depth, level, ts Task: Fetch level from rainfall where depth is greater than the average of depth in uv_index for matching depth. Script:
readings = fetch( node=Node("rainfall", code="prt"), filter=exceeds( field="depth", threshold=aggregate("AVG", "depth", source=Probe("uv_index", code="flx"), match="depth"), ), output="level", )
{ "outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000560
train
v1
Sensor network script: Node: dew_point | code: gst | fields: value, ts, qc, reading Sensor: drought_index | fields: depth, lat, value, ts Task: Get depth from dew_point where ts appears in drought_index readings with matching ts. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=set_member( field="ts", source=Probe("drought_index", code="drt"), match="ts", ), output="depth", )
{ "outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000561
train
v1
Sensor network script: Node: drought_index | code: ref | fields: lon, depth, qc, unit Sensor: wind_speed | fields: depth, reading, unit, value Task: Get level from drought_index where depth appears in wind_speed readings with matching unit. Script:
readings = fetch( node=Node("drought_index", code="ref"), filter=set_member( field="depth", source=Probe("wind_speed", code="gst"), match="unit", ), output="level", )
{ "outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000562
train
v2
Sensor network script: Node: snow_depth | code: ref | fields: level, qc, depth, ts Sensor: sunlight | fields: lat, qc, reading, depth Task: Retrieve lon from snow_depth that have at least one matching reading in sunlight sharing the same qc. Script:
readings = fetch( node=Node("snow_depth", code="ref"), filter=has_match( source=Probe("sunlight", code="brt"), match="qc", ), output="lon", )
{ "outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000563
train
v2
Sensor network script: Node: drought_index | code: prt | fields: type, reading, ts, lon Sensor: soil_moisture | fields: ts, depth, type, lat Task: Fetch value from drought_index that have at least one corresponding soil_moisture measurement for the same qc. Script:
readings = fetch( node=Node("drought_index", code="prt"), filter=has_match( source=Probe("soil_moisture", code="grvl"), match="qc", ), output="value", )
{ "outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000564
train
v1
Sensor network script: Node: dew_point | code: mst | fields: qc, type, unit, reading Sensor: rainfall | fields: value, qc, depth, unit Task: Fetch lon from dew_point where type exists in rainfall sensor data for the same unit. Script:
readings = fetch( node=Node("dew_point", code="mst"), filter=set_member( field="type", source=Probe("rainfall", code="rnfl"), match="unit", ), output="lon", )
{ "outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000565
train
v3
Sensor network script: Node: pressure | code: clr | fields: type, depth, lon, reading Sensor: snow_depth | fields: depth, qc, ts, lat Task: Get value from pressure where depth exceeds the maximum value from snow_depth for the same type. Script:
readings = fetch( node=Node("pressure", code="clr"), filter=exceeds( field="depth", threshold=aggregate("MAX", "value", source=Probe("snow_depth", code="snw"), match="type"), ), output="value", )
{ "outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000566
train
v1
Sensor network script: Node: temperature | code: ref | fields: type, reading, lon, lat Sensor: soil_moisture | fields: value, ts, type, unit Task: Retrieve lon from temperature whose type is found in soil_moisture records where ts matches the outer node. Script:
readings = fetch( node=Node("temperature", code="ref"), filter=set_member( field="type", source=Probe("soil_moisture", code="grvl"), match="ts", ), output="lon", )
{ "outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000567
train
v2
Sensor network script: Node: temperature | code: gst | fields: depth, level, value, unit Sensor: rainfall | fields: level, depth, qc, value Task: Get lat from temperature where a corresponding entry exists in rainfall with the same qc. Script:
readings = fetch( node=Node("temperature", code="gst"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="qc", ), output="lat", )
{ "outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000568
train
v3
Sensor network script: Node: sunlight | code: mst | fields: lon, unit, reading, type Sensor: air_quality | fields: ts, depth, lat, unit Task: Fetch lat from sunlight where reading is greater than the count of of depth in air_quality for matching type. Script:
readings = fetch( node=Node("sunlight", code="mst"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "depth", source=Probe("air_quality", code="prt"), match="type"), ), output="lat", )
{ "outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000569
train
v3
Sensor network script: Node: pressure | code: stn | fields: lon, unit, qc, depth Sensor: frost | fields: level, depth, ts, lat Task: Retrieve lat from pressure with reading above the MAX(value) of frost readings sharing the same unit. Script:
readings = fetch( node=Node("pressure", code="stn"), filter=exceeds( field="reading", threshold=aggregate("MAX", "value", source=Probe("frost", code="frs"), match="unit"), ), output="lat", )
{ "outer_table": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000570
train
v1
Sensor network script: Node: turbidity | code: ref | fields: value, unit, lat, level Sensor: uv_index | fields: depth, unit, level, ts Task: Retrieve value from turbidity whose depth is found in uv_index records where type matches the outer node. Script:
readings = fetch( node=Node("turbidity", code="ref"), filter=set_member( field="depth", source=Probe("uv_index", code="flx"), match="type", ), output="value", )
{ "outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000571
train
v3
Sensor network script: Node: sunlight | code: mst | fields: qc, unit, lon, type Sensor: lightning | fields: lon, type, level, lat Task: Retrieve reading from sunlight with value above the SUM(depth) of lightning readings sharing the same type. Script:
readings = fetch( node=Node("sunlight", code="mst"), filter=exceeds( field="value", threshold=aggregate("SUM", "depth", source=Probe("lightning", code="tnd"), match="type"), ), output="reading", )
{ "outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000572
train
v3
Sensor network script: Node: cloud_cover | code: clr | fields: unit, qc, reading, lon Sensor: drought_index | fields: unit, qc, level, reading Task: Fetch level from cloud_cover where reading is greater than the total of depth in drought_index for matching ts. Script:
readings = fetch( node=Node("cloud_cover", code="clr"), filter=exceeds( field="reading", threshold=aggregate("SUM", "depth", source=Probe("drought_index", code="drt"), match="ts"), ), output="level", )
{ "outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000573
train
v2
Sensor network script: Node: air_quality | code: stn | fields: lon, unit, reading, type Sensor: turbidity | fields: lat, qc, depth, level Task: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same type. Script:
readings = fetch( node=Node("air_quality", code="stn"), filter=has_match( source=Probe("turbidity", code="ftu"), match="type", ), output="lat", )
{ "outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000574
train
v3
Sensor network script: Node: evaporation | code: gst | fields: reading, lon, depth, level Sensor: drought_index | fields: unit, lon, qc, level Task: Retrieve level from evaporation with reading above the SUM(value) of drought_index readings sharing the same ts. Script:
readings = fetch( node=Node("evaporation", code="gst"), filter=exceeds( field="reading", threshold=aggregate("SUM", "value", source=Probe("drought_index", code="drt"), match="ts"), ), output="level", )
{ "outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000575
train
v2
Sensor network script: Node: snow_depth | code: stn | fields: ts, unit, depth, type Sensor: frost | fields: qc, lon, lat, reading Task: Retrieve level from snow_depth that have at least one matching reading in frost sharing the same qc. Script:
readings = fetch( node=Node("snow_depth", code="stn"), filter=has_match( source=Probe("frost", code="frs"), match="qc", ), output="level", )
{ "outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000576
train
v3
Sensor network script: Node: wind_speed | code: hub | fields: qc, value, level, ts Sensor: drought_index | fields: value, qc, depth, lon Task: Fetch depth from wind_speed where value is greater than the average of reading in drought_index for matching unit. Script:
readings = fetch( node=Node("wind_speed", code="hub"), filter=exceeds( field="value", threshold=aggregate("AVG", "reading", source=Probe("drought_index", code="drt"), match="unit"), ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000577
train
v2
Sensor network script: Node: cloud_cover | code: gst | fields: value, depth, qc, ts Sensor: uv_index | fields: reading, lon, type, level Task: Get reading from cloud_cover where a corresponding entry exists in uv_index with the same type. Script:
readings = fetch( node=Node("cloud_cover", code="gst"), filter=has_match( source=Probe("uv_index", code="flx"), match="type", ), output="reading", )
{ "outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000578
train
v2
Sensor network script: Node: dew_point | code: gst | fields: depth, type, lon, unit Sensor: lightning | fields: lat, reading, unit, ts Task: Fetch value from dew_point that have at least one corresponding lightning measurement for the same qc. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=has_match( source=Probe("lightning", code="tnd"), match="qc", ), output="value", )
{ "outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000579
train
v2
Sensor network script: Node: pressure | code: mst | fields: qc, level, value, ts Sensor: cloud_cover | fields: unit, lat, type, reading Task: Fetch reading from pressure that have at least one corresponding cloud_cover measurement for the same type. Script:
readings = fetch( node=Node("pressure", code="mst"), filter=has_match( source=Probe("cloud_cover", code="nbl"), match="type", ), output="reading", )
{ "outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000580
train
v3
Sensor network script: Node: wind_speed | code: mst | fields: ts, lat, lon, qc Sensor: soil_moisture | fields: type, level, reading, qc Task: Retrieve depth from wind_speed with depth above the AVG(depth) of soil_moisture readings sharing the same depth. Script:
readings = fetch( node=Node("wind_speed", code="mst"), filter=exceeds( field="depth", threshold=aggregate("AVG", "depth", source=Probe("soil_moisture", code="grvl"), match="depth"), ), output="depth", )
{ "outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000581
train
v2
Sensor network script: Node: uv_index | code: gst | fields: lon, unit, level, value Sensor: drought_index | fields: type, value, ts, depth Task: Retrieve reading from uv_index that have at least one matching reading in drought_index sharing the same qc. Script:
readings = fetch( node=Node("uv_index", code="gst"), filter=has_match( source=Probe("drought_index", code="drt"), match="qc", ), output="reading", )
{ "outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000582
train
v3
Sensor network script: Node: humidity | code: clr | fields: qc, value, unit, ts Sensor: drought_index | fields: level, lat, unit, depth Task: Get lat from humidity where depth exceeds the total reading from drought_index for the same ts. Script:
readings = fetch( node=Node("humidity", code="clr"), filter=exceeds( field="depth", threshold=aggregate("SUM", "reading", source=Probe("drought_index", code="drt"), match="ts"), ), output="lat", )
{ "outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000583
train
v3
Sensor network script: Node: pressure | code: hub | fields: unit, qc, lat, type Sensor: evaporation | fields: unit, level, qc, depth Task: Fetch reading from pressure where value is greater than the total of value in evaporation for matching depth. Script:
readings = fetch( node=Node("pressure", code="hub"), filter=exceeds( field="value", threshold=aggregate("SUM", "value", source=Probe("evaporation", code="evp"), match="depth"), ), output="reading", )
{ "outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000584
train
v3
Sensor network script: Node: wind_speed | code: mst | fields: reading, ts, depth, lat Sensor: sunlight | fields: qc, depth, reading, level Task: Retrieve lon from wind_speed with reading above the SUM(depth) of sunlight readings sharing the same depth. Script:
readings = fetch( node=Node("wind_speed", code="mst"), filter=exceeds( field="reading", threshold=aggregate("SUM", "depth", source=Probe("sunlight", code="brt"), match="depth"), ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000585
train
v3
Sensor network script: Node: drought_index | code: clr | fields: reading, ts, value, lon Sensor: lightning | fields: level, qc, unit, ts Task: Fetch reading from drought_index where depth is greater than the total of reading in lightning for matching depth. Script:
readings = fetch( node=Node("drought_index", code="clr"), filter=exceeds( field="depth", threshold=aggregate("SUM", "reading", source=Probe("lightning", code="tnd"), match="depth"), ), output="reading", )
{ "outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000586
train
v1
Sensor network script: Node: dew_point | code: prt | fields: level, lat, lon, depth Sensor: soil_moisture | fields: type, depth, lat, qc Task: Fetch lon from dew_point where depth exists in soil_moisture sensor data for the same ts. Script:
readings = fetch( node=Node("dew_point", code="prt"), filter=set_member( field="depth", source=Probe("soil_moisture", code="grvl"), match="ts", ), output="lon", )
{ "outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000587
train
v1
Sensor network script: Node: dew_point | code: mst | fields: unit, value, type, lat Sensor: turbidity | fields: lon, depth, type, qc Task: Get lon from dew_point where ts appears in turbidity readings with matching depth. Script:
readings = fetch( node=Node("dew_point", code="mst"), filter=set_member( field="ts", source=Probe("turbidity", code="ftu"), match="depth", ), output="lon", )
{ "outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000588
train
v1
Sensor network script: Node: temperature | code: prt | fields: reading, depth, level, unit Sensor: frost | fields: reading, value, type, qc Task: Retrieve depth from temperature whose depth is found in frost records where type matches the outer node. Script:
readings = fetch( node=Node("temperature", code="prt"), filter=set_member( field="depth", source=Probe("frost", code="frs"), match="type", ), output="depth", )
{ "outer_table": "temperature", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000589
train
v1
Sensor network script: Node: temperature | code: thr | fields: qc, value, reading, ts Sensor: evaporation | fields: lon, value, reading, ts Task: Get depth from temperature where depth appears in evaporation readings with matching type. Script:
readings = fetch( node=Node("temperature", code="thr"), filter=set_member( field="depth", source=Probe("evaporation", code="evp"), match="type", ), output="depth", )
{ "outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000590
train
v2
Sensor network script: Node: air_quality | code: ref | fields: qc, value, level, lat Sensor: drought_index | fields: level, lat, depth, unit Task: Retrieve level from air_quality that have at least one matching reading in drought_index sharing the same type. Script:
readings = fetch( node=Node("air_quality", code="ref"), filter=has_match( source=Probe("drought_index", code="drt"), match="type", ), output="level", )
{ "outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000591
train
v1
Sensor network script: Node: humidity | code: stn | fields: value, level, lon, unit Sensor: temperature | fields: type, value, lon, level Task: Get value from humidity where qc appears in temperature readings with matching depth. Script:
readings = fetch( node=Node("humidity", code="stn"), filter=set_member( field="qc", source=Probe("temperature", code="thr"), match="depth", ), output="value", )
{ "outer_table": "humidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000592
train
v1
Sensor network script: Node: frost | code: thr | fields: unit, value, lon, reading Sensor: lightning | fields: type, qc, level, value Task: Retrieve depth from frost whose depth is found in lightning records where ts matches the outer node. Script:
readings = fetch( node=Node("frost", code="thr"), filter=set_member( field="depth", source=Probe("lightning", code="tnd"), match="ts", ), output="depth", )
{ "outer_table": "frost", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000593
train
v1
Sensor network script: Node: soil_moisture | code: hub | fields: level, depth, reading, ts Sensor: uv_index | fields: lat, type, lon, qc Task: Fetch level from soil_moisture where qc exists in uv_index sensor data for the same unit. Script:
readings = fetch( node=Node("soil_moisture", code="hub"), filter=set_member( field="qc", source=Probe("uv_index", code="flx"), match="unit", ), output="level", )
{ "outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000594
train
v3
Sensor network script: Node: cloud_cover | code: mst | fields: type, qc, value, depth Sensor: wind_speed | fields: reading, unit, value, qc Task: Retrieve level from cloud_cover with depth above the COUNT(reading) of wind_speed readings sharing the same unit. Script:
readings = fetch( node=Node("cloud_cover", code="mst"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "reading", source=Probe("wind_speed", code="gst"), match="unit"), ), output="level", )
{ "outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000595
train
v1
Sensor network script: Node: rainfall | code: gst | fields: lon, type, ts, lat Sensor: evaporation | fields: type, qc, value, level Task: Fetch lon from rainfall where unit exists in evaporation sensor data for the same unit. Script:
readings = fetch( node=Node("rainfall", code="gst"), filter=set_member( field="unit", source=Probe("evaporation", code="evp"), match="unit", ), output="lon", )
{ "outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000596
train
v1
Sensor network script: Node: sunlight | code: thr | fields: lon, level, lat, unit Sensor: lightning | fields: ts, value, depth, qc Task: Get depth from sunlight where ts appears in lightning readings with matching unit. Script:
readings = fetch( node=Node("sunlight", code="thr"), filter=set_member( field="ts", source=Probe("lightning", code="tnd"), match="unit", ), output="depth", )
{ "outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000597
train
v3
Sensor network script: Node: dew_point | code: gst | fields: unit, lon, reading, depth Sensor: drought_index | fields: unit, depth, lat, level Task: Retrieve reading from dew_point with depth above the COUNT(reading) of drought_index readings sharing the same depth. Script:
readings = fetch( node=Node("dew_point", code="gst"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "reading", source=Probe("drought_index", code="drt"), match="depth"), ), output="reading", )
{ "outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_000598
train
v3
Sensor network script: Node: pressure | code: ref | fields: level, type, unit, reading Sensor: visibility | fields: value, lon, level, depth Task: Get level from pressure where value exceeds the maximum reading from visibility for the same ts. Script:
readings = fetch( node=Node("pressure", code="ref"), filter=exceeds( field="value", threshold=aggregate("MAX", "reading", source=Probe("visibility", code="clr"), match="ts"), ), output="level", )
{ "outer_table": "pressure", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_000599
train