Conversation so far:

Question: what did he do with astronomy?
Self-contained rewrite: What did Ptolemy do with astronomy?