convert triples into rdf uriref format
===

I have a python function that defines triples in subject, object and predicates and iterate through them but I need to convert the triples to a RDF URIRef data forma so that I can store it in my RDF store. How can I go about this?