<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def get_from_relations(self, query,aliases):
        '''
        Returns list of the names of all positive relations in the query
        '''
        return [aliases[rel.get_name()] for rel in query.get_relations() if not rel.is_negated()]