There are many ways to measure 'risk' like variance, standard deviation, coefficient of variation, etc.
Here, we have investments $K_i$ whose values are given by Return$(K_i)(\omega)$. Each investment $K_i$ has expected return $E[Return(K_i)]$ and variance $Var[Return(K_i)]$. The standard deviation of investment $K_i$ is denoted by $\sigma K_i$ which is the square root of $Var[Return(K_i)]$.
The weights could refer to:
The probabilities of the $\omega$'s
hypothetical weights we could assign to the investments.
Suppose we invest 1 unit in investment $K_1$, x times as much in $K_2$ as we do in $K_1$ and y times as much in $K_3$ as we do in $K_1$.
Then we expect to get:
$E[Return(K_1) + xReturn(K_2) + yReturn(K_3)]$
The variance of our portfolio is:
$Var[Return(K_1) + xReturn(K_2) + yReturn(K_3)] = Var[Return(K_1)] + x^2Var[Return(K_2)] + y^2Var[Return(K_3)]$
I guess the weights would be $1$, $x$ and $y$ or $\frac{1}{1+x+y}, \frac{x}{1+x+y}, \frac{y}{1+x+y}$
Read more: https://quant.stackexchange.com/questions/1356/diversification-rebalancing-and-different-means