graph icon indicating copy to clipboard operation
graph copied to clipboard

Expand section on discovering graph schema using queries

Open krlawrence opened this issue 6 years ago • 2 comments

Coverage could be expanded to include simple things such as count() and groupCount() by label as well as more interesting queries such as

gremlin> g.V().outE().otherV().groupCount().by(path().by(label))                    
==>{[country, contains, airport]=3424, 
    [continent, contains, airport]=3424, 
    [airport, route, airport]=48320}                                                            

gremlin> g.V().inE().otherV().groupCount().by(path().by(label))                     
==>{[airport, contains, country]=3424, 
    [airport, contains, continent]=3424, 
    [airport, route, airport]=48320}

krlawrence avatar Apr 07 '19 22:04 krlawrence

Realized I already have an issue for this.

krlawrence avatar Apr 07 '19 23:04 krlawrence

Actually the issue I was thinking of is more about upfront design so this is a different one.

krlawrence avatar Apr 07 '19 23:04 krlawrence