wip(engine): add map select statements
fix(engine): fix queries and portable entities