Pragmatic versus semantic contextuality in quantum physics