function properties(expression)

properties() converts the argument to a map of its properties. If the argument is a node or a relationship, the returned map is a map of its properties. If the argument is already a map, it is returned unchanged.

Arguments:
expression: An expression that returns a node, a relationship, or a map

Example Query:
    CREATE (p:Person { name: 'Stefan', city: 'Berlin' })
    RETURN properties(p)