Neo4j 2.0: Create Object if it Doesn't Exist

This cypher query will create the object if it doesn't exist. The best example of this would be tags. You only want to create the tag if it doesn't already exist.

match (t:Tag { name: "test" }) with count(*) as exists where exists = 0 create (n:Tag { name: "test" });