def build_query_rep(query, divider=u' - '):
 return divider.join([el[0] for el in query])

def build_query_rep ( query , divider = u' - ' ) : return divider . join ( [ el [ 0 ] for el in query ] )
build a string representation of a query .