Version 1.2
SELECT * FROM AllPairsShortestPath ( ON vertices_table AS vertices PARTITION BY vertex_key ON edges_table AS edges PARTITION BY source_vertex_key [ ON sources_table AS sources PARTITION BY source_vertex_key ] [ ON targets_table AS targets PARTITION BY target_vertex_key ] TargetKey ({ 'target_key_column' | 'target_key_column_range' }[,...]) [ EdgeWeight ('edge_weight') ] [ Directed ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ] [ MaxDistance ('max_distance') ] [ GroupSize ('group_size') ] );