Extract Rdf query resolution from Term