A moderate earthquake measuring 5.0 on the Richter scale shook Costa Rica on Wednesday during a visit by Japanese Prime Minister Ryutaro Hashimoto , but there were no reports of casualties or damage , officials said .
<response> A moderate earthquake measuring 5.0 on the <person>Richter</person> scale shook <location>Costa Rica</location> on Wednesday during a visit by <misc>Japanese</misc> Prime Minister <person>Ryutaro Hashimoto</person> , but there were no reports of casualties or damage , officials said . </response>