查询
match (person:lable1) where person.name='tom' return personmatch (person:lable1{name:"tom"}) return msisdn
创建关系(给tom和jerry创建一个friend关系)
match (person:label1),(person2:label1) where (person.name="tom") and (person2.name="jerry") create (person)-[relation:friend]->(person2) return (person),(person2)
给节点添加属性
match (person:label1) where person.name="tom" set person.age="20" return person
给关系添加属性
match p=()-[r:son]->() set r.source="dataset1" return r
删除关系
match (person:label1)-[son:relation]->(person2:label1) delete son