I'm looking for explicit representatives of $H^3_{Borel}(G, R/Z)$, i.e. a measurable function $G^3\to R/Z$ representing a generator of the cohomology group.  (Here $G$ is a compact (perhaps simple) Lie group and $R/Z$ is the circle group.)  Surely someone has worked this out, but my literature search came up empty.

Alternatively, an explicit representative of the corresponding class in $H^4(BG, Z)$ would be useful, since Cor. 1.14 of [Baker 1977][1] shows how to convert this to an $H^3_{Borel}(G, R/Z)$ representative.

I suspect this is not difficult, but I seem to be stuck, so I'm availing myself to MO.

  [1]: https://www.sciencedirect.com/science/article/pii/0040938377900490