In John 1, Jesus displays his prescience in his encounter with Nathanael and it takes a particular form: statement by Jesus (v.47); response by Nathanael (v.48a); disclosure by Jesus of his knowledge (v.48b); recognition of Jesus' identity by Nathanael (v.49); a promise of greater things by Jesus (vv.50,51).
In John 4, Jesus displays his prescience in his encounter with the Samaritan woman and it takes a particular form: statement/instruction by Jesus (v.16); response by the woman (v.17a); disclosure by Jesus of his knowledge (vv.17b,18); recognition of Jesus' identity by the woman (v.19); a promise of greater things by Jesus (vv.23,24)