Extract Rdf query resolution from Term
This separates the responsibility of being a reified term from the responsibility of
building its ancestors.