Check RDF availability before removing