variant
stringclasses
3 values
prompt
stringlengths
216
286
query
stringlengths
168
299
metadata
unknown
id
stringlengths
28
28
split
stringclasses
1 value
v3
Sensor network script: Node: turbidity | code: thr | fields: depth, reading, level, unit Sensor: air_quality | fields: unit, qc, type, value Task: Fetch lon from turbidity where value is greater than the count of of value in air_quality for matching qc. Script:
readings = fetch( node=Node("turbidity", code="thr"), filter=exceeds( field="value", threshold=aggregate("COUNT", "value", source=Probe("air_quality", code="prt"), match="qc"), ), output="lon", )
{ "outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084200
train
v2
Sensor network script: Node: sunlight | code: ref | fields: unit, level, ts, lon Sensor: evaporation | fields: type, qc, lon, depth Task: Get value from sunlight where a corresponding entry exists in evaporation with the same ts. Script:
readings = fetch( node=Node("sunlight", code="ref"), filter=has_match( source=Probe("evaporation", code="evp"), match="ts", ), output="value", )
{ "outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084201
train
v2
Sensor network script: Node: turbidity | code: stn | fields: level, lon, reading, depth Sensor: air_quality | fields: type, reading, lon, unit Task: Get lat from turbidity where a corresponding entry exists in air_quality with the same ts. Script:
readings = fetch( node=Node("turbidity", code="stn"), filter=has_match( source=Probe("air_quality", code="prt"), match="ts", ), output="lat", )
{ "outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084202
train
v3
Sensor network script: Node: sunlight | code: stn | fields: ts, reading, qc, type Sensor: air_quality | fields: ts, depth, lon, unit Task: Fetch level from sunlight where value is greater than the average of reading in air_quality for matching ts. Script:
readings = fetch( node=Node("sunlight", code="stn"), filter=exceeds( field="value", threshold=aggregate("AVG", "reading", source=Probe("air_quality", code="prt"), match="ts"), ), output="level", )
{ "outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084203
train
v2
Sensor network script: Node: lightning | code: thr | fields: qc, type, ts, depth Sensor: cloud_cover | fields: type, ts, qc, level Task: Get depth from lightning where a corresponding entry exists in cloud_cover with the same ts. Script:
readings = fetch( node=Node("lightning", code="thr"), filter=has_match( source=Probe("cloud_cover", code="nbl"), match="ts", ), output="depth", )
{ "outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084204
train
v1
Sensor network script: Node: humidity | code: stn | fields: reading, lat, depth, ts Sensor: soil_moisture | fields: level, depth, qc, reading Task: Get level from humidity where type appears in soil_moisture readings with matching unit. Script:
readings = fetch( node=Node("humidity", code="stn"), filter=set_member( field="type", source=Probe("soil_moisture", code="grvl"), match="unit", ), output="level", )
{ "outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084205
train
v2
Sensor network script: Node: uv_index | code: prt | fields: qc, type, lat, unit Sensor: rainfall | fields: reading, level, depth, unit Task: Retrieve level from uv_index that have at least one matching reading in rainfall sharing the same ts. Script:
readings = fetch( node=Node("uv_index", code="prt"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="ts", ), output="level", )
{ "outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084206
train
v3
Sensor network script: Node: pressure | code: thr | fields: lon, qc, depth, value Sensor: sunlight | fields: level, type, reading, lon Task: Retrieve lon from pressure with reading above the SUM(value) of sunlight readings sharing the same type. Script:
readings = fetch( node=Node("pressure", code="thr"), filter=exceeds( field="reading", threshold=aggregate("SUM", "value", source=Probe("sunlight", code="brt"), match="type"), ), output="lon", )
{ "outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084207
train
v2
Sensor network script: Node: snow_depth | code: hub | fields: ts, depth, qc, lat Sensor: cloud_cover | fields: level, value, ts, lon Task: Get depth from snow_depth where a corresponding entry exists in cloud_cover with the same depth. Script:
readings = fetch( node=Node("snow_depth", code="hub"), filter=has_match( source=Probe("cloud_cover", code="nbl"), match="depth", ), output="depth", )
{ "outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084208
train
v3
Sensor network script: Node: visibility | code: mst | fields: lon, type, unit, lat Sensor: dew_point | fields: qc, unit, type, lat Task: Fetch depth from visibility where reading is greater than the count of of depth in dew_point for matching qc. Script:
readings = fetch( node=Node("visibility", code="mst"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "depth", source=Probe("dew_point", code="cnd"), match="qc"), ), output="depth", )
{ "outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "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_084209
train
v2
Sensor network script: Node: turbidity | code: gst | fields: level, qc, depth, lat Sensor: rainfall | fields: depth, ts, value, reading Task: Retrieve depth from turbidity that have at least one matching reading in rainfall sharing the same type. Script:
readings = fetch( node=Node("turbidity", code="gst"), filter=has_match( source=Probe("rainfall", code="rnfl"), match="type", ), output="depth", )
{ "outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084210
train
v1
Sensor network script: Node: visibility | code: clr | fields: level, depth, reading, qc Sensor: temperature | fields: lon, reading, type, lat Task: Fetch lon from visibility where type exists in temperature sensor data for the same depth. Script:
readings = fetch( node=Node("visibility", code="clr"), filter=set_member( field="type", source=Probe("temperature", code="thr"), match="depth", ), output="lon", )
{ "outer_table": "visibility", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084211
train
v3
Sensor network script: Node: wind_speed | code: clr | fields: ts, value, reading, qc Sensor: sunlight | fields: ts, reading, qc, depth Task: Fetch lat from wind_speed where reading is greater than the count of of reading in sunlight for matching type. Script:
readings = fetch( node=Node("wind_speed", code="clr"), filter=exceeds( field="reading", threshold=aggregate("COUNT", "reading", source=Probe("sunlight", code="brt"), match="type"), ), output="lat", )
{ "outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084212
train
v2
Sensor network script: Node: cloud_cover | code: ref | fields: value, unit, lon, qc Sensor: drought_index | fields: depth, lon, value, unit Task: Fetch depth from cloud_cover that have at least one corresponding drought_index measurement for the same type. Script:
readings = fetch( node=Node("cloud_cover", code="ref"), filter=has_match( source=Probe("drought_index", code="drt"), match="type", ), output="depth", )
{ "outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084213
train
v2
Sensor network script: Node: uv_index | code: clr | fields: type, lat, unit, ts Sensor: frost | fields: level, ts, reading, value Task: Fetch level from uv_index that have at least one corresponding frost measurement for the same unit. Script:
readings = fetch( node=Node("uv_index", code="clr"), filter=has_match( source=Probe("frost", code="frs"), match="unit", ), output="level", )
{ "outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084214
train
v1
Sensor network script: Node: visibility | code: prt | fields: ts, reading, qc, unit Sensor: soil_moisture | fields: depth, value, level, type Task: Retrieve reading from visibility whose qc is found in soil_moisture records where qc matches the outer node. Script:
readings = fetch( node=Node("visibility", code="prt"), filter=set_member( field="qc", source=Probe("soil_moisture", code="grvl"), match="qc", ), output="reading", )
{ "outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084215
train
v3
Sensor network script: Node: wind_speed | code: gst | fields: depth, unit, lat, reading Sensor: dew_point | fields: reading, lat, type, unit Task: Get lon from wind_speed where value exceeds the average value from dew_point for the same depth. Script:
readings = fetch( node=Node("wind_speed", code="gst"), filter=exceeds( field="value", threshold=aggregate("AVG", "value", source=Probe("dew_point", code="cnd"), match="depth"), ), output="lon", )
{ "outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084216
train
v1
Sensor network script: Node: dew_point | code: clr | fields: lat, lon, value, unit Sensor: lightning | fields: unit, lon, ts, value Task: Retrieve level from dew_point whose qc is found in lightning records where depth matches the outer node. Script:
readings = fetch( node=Node("dew_point", code="clr"), filter=set_member( field="qc", source=Probe("lightning", code="tnd"), match="depth", ), output="level", )
{ "outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084217
train
v2
Sensor network script: Node: pressure | code: hub | fields: ts, lon, lat, type Sensor: humidity | fields: lon, reading, lat, qc Task: Get value from pressure where a corresponding entry exists in humidity with the same depth. Script:
readings = fetch( node=Node("pressure", code="hub"), filter=has_match( source=Probe("humidity", code="hgr"), match="depth", ), output="value", )
{ "outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084218
train
v3
Sensor network script: Node: pressure | code: prt | fields: level, unit, qc, reading Sensor: lightning | fields: depth, reading, value, lon Task: Fetch lon from pressure where depth is greater than the count of of value in lightning for matching type. Script:
readings = fetch( node=Node("pressure", code="prt"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "value", source=Probe("lightning", code="tnd"), match="type"), ), output="lon", )
{ "outer_table": "pressure", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084219
train
v3
Sensor network script: Node: rainfall | code: mst | fields: reading, unit, level, type Sensor: temperature | fields: level, lon, unit, ts Task: Retrieve lat from rainfall with reading above the MIN(depth) of temperature readings sharing the same depth. Script:
readings = fetch( node=Node("rainfall", code="mst"), filter=exceeds( field="reading", threshold=aggregate("MIN", "depth", source=Probe("temperature", code="thr"), match="depth"), ), output="lat", )
{ "outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084220
train
v3
Sensor network script: Node: frost | code: ref | fields: depth, level, lat, type Sensor: drought_index | fields: lon, depth, qc, lat Task: Get value from frost where reading exceeds the total reading from drought_index for the same depth. Script:
readings = fetch( node=Node("frost", code="ref"), filter=exceeds( field="reading", threshold=aggregate("SUM", "reading", source=Probe("drought_index", code="drt"), match="depth"), ), output="value", )
{ "outer_table": "frost", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084221
train
v1
Sensor network script: Node: temperature | code: hub | fields: reading, unit, level, value Sensor: uv_index | fields: lat, unit, reading, depth Task: Retrieve reading from temperature whose depth is found in uv_index records where type matches the outer node. Script:
readings = fetch( node=Node("temperature", code="hub"), filter=set_member( field="depth", source=Probe("uv_index", code="flx"), match="type", ), output="reading", )
{ "outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084222
train
v2
Sensor network script: Node: visibility | code: thr | fields: reading, unit, depth, lat Sensor: soil_moisture | fields: lon, unit, type, reading Task: Fetch depth from visibility that have at least one corresponding soil_moisture measurement for the same qc. Script:
readings = fetch( node=Node("visibility", code="thr"), filter=has_match( source=Probe("soil_moisture", code="grvl"), match="qc", ), output="depth", )
{ "outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084223
train
v1
Sensor network script: Node: rainfall | code: mst | fields: type, reading, depth, lat Sensor: soil_moisture | fields: value, unit, lon, level Task: Fetch lat from rainfall where unit exists in soil_moisture sensor data for the same qc. Script:
readings = fetch( node=Node("rainfall", code="mst"), filter=set_member( field="unit", source=Probe("soil_moisture", code="grvl"), match="qc", ), output="lat", )
{ "outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084224
train
v2
Sensor network script: Node: evaporation | code: gst | fields: type, lon, ts, lat Sensor: air_quality | fields: lat, ts, value, level Task: Get value from evaporation where a corresponding entry exists in air_quality with the same depth. Script:
readings = fetch( node=Node("evaporation", code="gst"), filter=has_match( source=Probe("air_quality", code="prt"), match="depth", ), output="value", )
{ "outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084225
train
v3
Sensor network script: Node: snow_depth | code: gst | fields: depth, reading, unit, ts Sensor: temperature | fields: level, lon, value, qc Task: Fetch lon from snow_depth where depth is greater than the average of value in temperature for matching unit. Script:
readings = fetch( node=Node("snow_depth", code="gst"), filter=exceeds( field="depth", threshold=aggregate("AVG", "value", source=Probe("temperature", code="thr"), match="unit"), ), output="lon", )
{ "outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084226
train
v3
Sensor network script: Node: cloud_cover | code: hub | fields: value, lon, reading, level Sensor: temperature | fields: value, reading, type, depth Task: Get value from cloud_cover where reading exceeds the average value from temperature for the same qc. Script:
readings = fetch( node=Node("cloud_cover", code="hub"), filter=exceeds( field="reading", threshold=aggregate("AVG", "value", source=Probe("temperature", code="thr"), match="qc"), ), output="value", )
{ "outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084227
train
v3
Sensor network script: Node: air_quality | code: thr | fields: value, qc, reading, lon Sensor: dew_point | fields: value, lon, type, level Task: Fetch level from air_quality where depth is greater than the minimum of reading in dew_point for matching unit. Script:
readings = fetch( node=Node("air_quality", code="thr"), filter=exceeds( field="depth", threshold=aggregate("MIN", "reading", source=Probe("dew_point", code="cnd"), match="unit"), ), output="level", )
{ "outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084228
train
v2
Sensor network script: Node: temperature | code: thr | fields: lon, type, unit, lat Sensor: drought_index | fields: lat, ts, reading, type Task: Retrieve depth from temperature that have at least one matching reading in drought_index sharing the same ts. Script:
readings = fetch( node=Node("temperature", code="thr"), filter=has_match( source=Probe("drought_index", code="drt"), match="ts", ), output="depth", )
{ "outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084229
train
v2
Sensor network script: Node: visibility | code: mst | fields: type, level, qc, depth Sensor: air_quality | fields: level, unit, value, ts Task: Retrieve reading from visibility that have at least one matching reading in air_quality sharing the same type. Script:
readings = fetch( node=Node("visibility", code="mst"), filter=has_match( source=Probe("air_quality", code="prt"), match="type", ), output="reading", )
{ "outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084230
train
v1
Sensor network script: Node: visibility | code: thr | fields: depth, type, level, ts Sensor: lightning | fields: type, lon, unit, level Task: Get lat from visibility where depth appears in lightning readings with matching ts. Script:
readings = fetch( node=Node("visibility", code="thr"), filter=set_member( field="depth", source=Probe("lightning", code="tnd"), match="ts", ), output="lat", )
{ "outer_table": "visibility", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084231
train
v3
Sensor network script: Node: frost | code: hub | fields: level, unit, ts, lon Sensor: air_quality | fields: reading, ts, lon, qc Task: Retrieve depth from frost with value above the AVG(depth) of air_quality readings sharing the same unit. Script:
readings = fetch( node=Node("frost", code="hub"), filter=exceeds( field="value", threshold=aggregate("AVG", "depth", source=Probe("air_quality", code="prt"), match="unit"), ), output="depth", )
{ "outer_table": "frost", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084232
train
v3
Sensor network script: Node: lightning | code: thr | fields: type, ts, depth, qc Sensor: visibility | fields: reading, ts, depth, value Task: Get value from lightning where value exceeds the count of depth from visibility for the same unit. Script:
readings = fetch( node=Node("lightning", code="thr"), filter=exceeds( field="value", threshold=aggregate("COUNT", "depth", source=Probe("visibility", code="clr"), match="unit"), ), output="value", )
{ "outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084233
train
v1
Sensor network script: Node: air_quality | code: gst | fields: value, lat, qc, level Sensor: soil_moisture | fields: lat, value, depth, lon Task: Get level from air_quality where depth appears in soil_moisture readings with matching ts. Script:
readings = fetch( node=Node("air_quality", code="gst"), filter=set_member( field="depth", source=Probe("soil_moisture", code="grvl"), match="ts", ), output="level", )
{ "outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084234
train
v3
Sensor network script: Node: pressure | code: clr | fields: qc, type, unit, reading Sensor: soil_moisture | fields: type, level, unit, lon Task: Retrieve depth from pressure with value above the COUNT(value) of soil_moisture readings sharing the same unit. Script:
readings = fetch( node=Node("pressure", code="clr"), filter=exceeds( field="value", threshold=aggregate("COUNT", "value", source=Probe("soil_moisture", code="grvl"), match="unit"), ), output="depth", )
{ "outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084235
train
v3
Sensor network script: Node: drought_index | code: prt | fields: reading, ts, lon, type Sensor: sunlight | fields: unit, reading, qc, ts Task: Fetch depth from drought_index where depth is greater than the count of of depth in sunlight for matching qc. Script:
readings = fetch( node=Node("drought_index", code="prt"), filter=exceeds( field="depth", threshold=aggregate("COUNT", "depth", source=Probe("sunlight", code="brt"), match="qc"), ), output="depth", )
{ "outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084236
train
v3
Sensor network script: Node: drought_index | code: prt | fields: type, level, reading, qc Sensor: temperature | fields: type, qc, value, depth Task: Retrieve lon from drought_index with depth above the MAX(depth) of temperature readings sharing the same type. Script:
readings = fetch( node=Node("drought_index", code="prt"), filter=exceeds( field="depth", threshold=aggregate("MAX", "depth", source=Probe("temperature", code="thr"), match="type"), ), output="lon", )
{ "outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084237
train
v1
Sensor network script: Node: lightning | code: prt | fields: lat, type, ts, value Sensor: visibility | fields: reading, ts, unit, lat Task: Fetch lat from lightning where ts exists in visibility sensor data for the same qc. Script:
readings = fetch( node=Node("lightning", code="prt"), filter=set_member( field="ts", source=Probe("visibility", code="clr"), match="qc", ), output="lat", )
{ "outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1 }
sensor_fixed_v1_train_084238
train
v3
Sensor network script: Node: uv_index | code: stn | fields: qc, ts, value, depth Sensor: turbidity | fields: level, reading, value, ts Task: Get lat from uv_index where value exceeds the average value from turbidity for the same type. Script:
readings = fetch( node=Node("uv_index", code="stn"), filter=exceeds( field="value", threshold=aggregate("AVG", "value", source=Probe("turbidity", code="ftu"), match="type"), ), output="lat", )
{ "outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null }
sensor_fixed_v1_train_084239
train