Collective Intentional Behavior from the Standpoint of Semantics