Add check for rdf format