some 2nd degree graph queries