added .rdf pipeline; added getRdf API