To solve this, we use the sum and difference identities for trigonometric functions to simplify both the numerator and denominator. The angle values in this expression can also be simplified using known values from trigonometric tables or through advanced trigonometric identities. After simplification and using symmetry, we get:
\[
\frac{\sin \frac{\pi}{7} + \sin \frac{3\pi}{7}}{1 + \cos \frac{\pi}{7} + \cos \frac{2\pi}{7}} = \frac{1}{2}
\]