LazyQuery container implementation for RDF. Regarding #520.