Probing one-dimensional quantum systems through their entanglement structure