readline insetead of rdf