1. A method comprising: storing data comprising a hierarchy of nodes; analyzing the stored data to create stored mappings comprising: a first mapping that maps selected-level nodes in the hierarchy to parent nodes of the selected-level nodes, and a second mapping that maps a plurality of nodes other than the selected-level nodes to a plurality of paths, within the hierarchy, to the plurality of nodes; storing an indication that the stored mappings represent the hierarchy; wherein the method is performed by one or more computing devices.