What is the structure of 我吃饭的时候看了一本书? The sentence 我吃饭的时候看了一本书。 apparently has two verbs (吃 and 看), but I can’t see how the two actions are correlated. Could anyone explain that?
I'm not sure if you are familiar with 的时候 but this translates approximately to 'while'.

So the sentence reads:

While I was eating I read a book.

You can see the English use "I" twice, so it may make more sense to you if you read it like this: 

我吃饭的时候(我)看了一本书