J query integration