aspen
aspen copied to clipboard
Cyphery description blocks
Would it be valuable to have describe blocks that describe an entity, and assign all relationships and attributes to them? I think it would.
I've also got an idea for slightly more Cypher-like syntax where if we add arrows/lines, we can generate multiple expressions in a single line, obviating the need for some grammars.
describe (Bilbo)
-[lives in]->(Place: Hobbiton)<-[contains]-(Place: Middle Earth)
-[enemies with]-(Gollum)
[cousins with] (Frodo)
[friends with] (Gandalf)
age: 111
An alternative format for the moment might be:
(Matt).score = 5
(Matt).github_username = "beechnut"
(Matt):
score: 5
github_username: "beechnut"