Roald Dahl’s novel following Sophie after she is carried away by a giant is The BFG.
Published in 1982, the book begins when Sophie sees a giant outside her orphanage at night. The giant takes her to Giant Country, where she learns that he is the Big Friendly Giant, a gentle figure who catches dreams rather than eating children.
Sophie and the BFG eventually work together to stop the other giants from attacking children in England. Their plan brings them into contact with the Queen of the United Kingdom, creating a blend of fantasy, wordplay, and adventure.
The BFG is sometimes confused with James and the Giant Peach because both titles involve a giant-scale fantasy. The BFG’s central character is a giant himself, while James’s story centers on a magical peach and its unusual travelers.