What is wrong with my query: Variable not defined

I get the following error when trying to create properties

create (basketball{parts_of_speech:noun,shape:sphere})

ERROR Neo.ClientError.Statement.SyntaxError

Variable noun not defined (line 1, column 36 (offset: 35)) "create (basketball{parts_of_speech:noun,shape:sphere})

Please keep the following things in mind:

  1. did you search for what you want to ask before posting?
  2. please use tags for additional info
  3. use a self-descriptive title

Please format code + Cypher statements with the code </> icon, it's much easier to read.

Please provide the following information if you ran into a more serious issue:

  • neo4j version, desktop version, browser version
  • what kind of API / driver do you use
  • screenshot of PROFILE or EXPLAIN with boxes expanded (lower right corner)
  • a sample of the data you want to import
  • which plugins / extensions / procedures do you use
  • neo4j.log and debug.log
Try this:
create (basketball{parts_of_speech: "noun", shape: "sphere"})

Thanks, that works. The tutorial I'm following doesn't say the properties should be in quotes.

If you are importing from a .csv file or from defined variables then property value = variable. If you are manually inserting property values then all values must be enclosed in "".

Thanks again. That is good, and I guess important to know.