build query is public in JUri