now you can query for distinct ranks based on habitat, country, elevation