15_cheatsheet:base_query
Differences
This shows you the differences between two versions of the page.
| 15_cheatsheet:base_query [2025/11/03 04:20] – created gaetan | 15_cheatsheet:base_query [2025/11/26 08:45] (current) – [Base queries] Tim | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| | %%(*F -+- *) A %% | {a1} | undirected | | | %%(*F -+- *) A %% | {a1} | undirected | | ||
| |**Single Match, Late Match and Optional Patterns** ||| | |**Single Match, Late Match and Optional Patterns** ||| | ||
| - | | %%A (: --> F)%% | {f1} | find first pattern | | + | | %%A (: --> F)%% | {f1} | stop after the first pattern | |
| - | | %%A (& --> F)%% | {f1} | find last pattern | | + | | %%A (& --> F)%% | {f1} | search for this pattern |
| | %%A (? +> F)%% | {Null} | changes nothing to NULL | | | %%A (? +> F)%% | {Null} | changes nothing to NULL | | ||
| |**Transitive closures** ||| | |**Transitive closures** ||| | ||
| - | | %%(* A > > *) A %% | {a3} | Path described by single edges | | ||
| - | | %%(* A +> > *) A %% | {a2} | other example | | ||
| | %%(* A (-->)* *) A %% | {a1, | | %%(* A (-->)* *) A %% | {a1, | ||
| | %%(* A (-->)+ *) A %% | {a2,a3,a4} | (1-to-n edges possible) | | | %%(* A (-->)+ *) A %% | {a2,a3,a4} | (1-to-n edges possible) | | ||
| Line 42: | Line 40: | ||
| |**Combined** ||| | |**Combined** ||| | ||
| | %%f:F, A +> f, A < f %% | {f1} | patterns combined by comma | | | %%f:F, A +> f, A < f %% | {f1} | patterns combined by comma | | ||
| + | | %%(* A > > *) A %% | {a3} | Path described by single edges | | ||
| + | | %%(* A +> > *) A %% | {a2} | other example | | ||
15_cheatsheet/base_query.1762140029.txt.gz · Last modified: 2025/11/03 04:20 by gaetan
