Extract Rdf query resolution from Term

NICE CHANGE BRO