Building large map and Decoupling location (-> x y z)

I think one of the best ways to construct this kind of maps is to use Pathom 3.

By either using p.eql/process - similar to Datomic’s pull, or using smart-map, similar to Datomic’s entity, a lazy map navigation, you can quite easily connect various functions results together with many kinds of data sources (in-lined, from files, in database queries etc).