Realist and cognitive perspectives on meaning and semantics