rel_query = '\nCALL apoc.meta.data(
)\nYIELD label, other, elementType, type, property\nWHERE type = "RELATIONSHIP" AND elementType = "node"\nUNWIND other AS other_node\nWITH * WHERE NOT label IN $EXCLUDED_LABELS\n AND NOT other_node IN $EXCLUDED_LABELS\nRETURN {start: label,
type: property,
end: toString(other_node
)} AS output\n'