User Tools

Site Tools


15_cheatsheet:base_query

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

15_cheatsheet:base_query [2025/11/03 04:20] – created gaetan15_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 last |
 | %%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,a2,a3,a4} |(0-to-n edges possible) | | %%(* A (-->)* *) A %% | {a1,a2,a3,a4} |(0-to-n edges possible) |
 | %%(* 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.txt · Last modified: 2025/11/26 08:45 by Tim