Suppose $X$ is a singular quasi-projective curve over the complex numbers, and $X'$ is a good nonsingular compactification of a resolution of singularities $Y\to X$. Let $D$ be the complement of $Y$ in $X'$.
Can one compute $H^*(X,\mathbf{Q})$ in terms of $H^*(X',\mathbf{Q})$ and $H^*(D,\mathbf{Q})$ and perhaps of self-products of $X'$ and $D$?
The answer should be "yes" using a combination of spectral sequences. I tried to first compute the hypercovering-to-cohomology spectral sequence for $Y\to X$, and then the weight spectral sequence for $Y\subset X'$ (and this is really just a Gysin long exact sequence), but I couldn't quite work them out.