Question: when were the first magnetic compasses used by chinese ships
Answer: The compass was used in Song Dynasty China by the military for navigational orienteering by 1040 -- 44 , and was used for maritime navigation by 1111 to 1117 .