[API] Merged get_triple_contents and get_external_contents into rdf_store