Skip to content

QEdge "length" specification #154

@patrickkwang

Description

@patrickkwang

We'd like something like Cypher's variable-length paths. On a query graph edge, we could encode this with a property like "length": "*3..5".

However, it is not clear to me how things should be bound to this query graph. In particular, there is no obvious place to bind nodes that occur in the middle of the path, and no way to enforce constraints on those nodes.

One way to constrain this that may make it more interpretable is to allow lengths only on self-edges. So we could encode things like this:
(disease)-[subClassOf]->(disease)-[subClassOf]->(disease)- ...
which is actually really useful...

@cbizon @balhoff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions