Skip to content

Cyphery description blocks #27

@beechnut

Description

@beechnut

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions