Views dependant on resource queries