Added support for ontology mappings to read.clj.
materialize-ontology now returns data suitable for this.