cd grafos time operator vertex@* = VertexOperator([], [0:1:15]) operator out_degree@* = ProjectionOperator([vertex@local], [id, graph.id, cardinality(outgoing_edges)], [id, graph.id, out_degree]) operator count_sum@* = AggregateOperator([out_degree@local], [count, sum], [*, out_degree], [count, degree], [graph.id]) operator union@0 = UnionOperator([count_sum@*]) operator total_count@0 = AggregateOperator([union@local], [sum, sum], [degree, count], [averaged, averagec], [graph.id]) operator unsorted@0 = ProjectionOperator([total_count@local], [graph.id, averagec*averaged], [graph.id, average]) operator sort@0 = SortOperator([unsorted@local], [graph.id, average:desc]) run sort@0 time