Add shorthand syntax

add shorthand syntax for relations
add shorthand syntax for variables