بَنَى الْأَمِيرُ الْقَصْرَ
The ruler built the palace.
If workers physically constructed it under the ruler's orders, banā retains its ordinary meaning while the action is attributed to the ruler through causation or direction. This can be analyzed as majāz ʿaqlī.
In lexical figurative usage a term is transferred from its literal referent; in logical metaphor the wording retains its sense but the action or property is attributed to someone or something other than its direct agent.