Physical Design and Query Compilation for a Semantic Data Model (Assuming Memory Residence)