RDF Query validation vefore setting container.