started part of the rdf query implementation