Ask a question to get started
Enter to sendā¢Shift+Enter new line
rel_query = '\nMATCH ( n)-[r]->(m)\nUNWIND labels(n) as src_label\nUNWIND labels(m) as dst_label\nUNWIND type(r ) as rel_type\nRETURN DISTINCT {start: src_label, type: rel_type, end: dst_label} AS output\n'