Finally create AST for RDF.