implements #16 query labels on cypher as well