COUNT(DISTINCT p) as cntannotates the number of people born in each city that have the programming skill. Then we order the city vertices by their descending cnt value, and choose the top 1 city:
edgeare stored in a list. This is because, we currently do not have an accumulator to store these data types directly yet.
datetime. However, single value attachments with the type
datetimeare stored in a list, thus, we currently do not support ordering based on single value attachments that have the
san jose universityis working at or was born in. In other words, a person vertex that attends
san jose universityneeds either a
work_atedge connected to a company vertex, or a
born_inedge connected to a city vertex to be included in the result.
san jose universityis working at and was born in. In other words, a person vertex needs to have both a
word_atedge connected to a company and a
born_inedge connected to a city to be included in the result.