@@ -0,0 +1,823 @@
+%0Afrom xigt.consts import (%0A    ALIGNMENT,%0A    CONTENT,%0A    SEGMENTATION%0A)%0A%0Adef ancestors(obj, refattrs=(ALIGNMENT, SEGMENTATION)):%0A    %22%22%22%0A    Return a mapping of %7Btier_id: selections%7D where selections is a list%0A    of %5B(item_id, spans)%5D and spans is a list of (start, end) tuples.%0A    e.g.%0A    %3E%3E%3E query.ancestors(igt.get_item('g1'), refattrs=(ALIGNMENT, SEGMENTATION))%0A    %7B%0A      %22m%22: %5B(%22m1%22, (None, None))%5D,%0A      %22w%22: %5B(%22w1%22, (0, 3))%5D,%0A      %22p%22: %5B(%22p1%22, (0, 5))%5D%0A    %7D%0A    %22%22%22%0A    anc = %7B%7D%0A    for refattr in refattrs:%0A        if refattr in obj.attributes:%0A%0A            anc = _ancestors(obj)%0A    return anc or %7B%7D%0A%0A%0Adef descendants(obj, refattrs=(ALIGNMENT, SEGMENTATION)):%0A    pass%0A%0A%0Adef ascend(obj, refattrs):%0A    pass%0A%0Adef descend(obj, refattrs):%0A    pass%0A%0A#def ingroup(obj, refattrs)%0A#def filter(%5Bobjs%5D, lambda x: 

Add stubs for xigt/query.py