an homework question :
Let $X$ and $Y$ be two integral schemes of finite type over a field $k$. There is a rational morphism $X\longrightarrow Y$ if and only if the scheme $Y\times_k k(X)$ has a rational point ($k(X)$ denotes the function field of $X$).
Any idea on how to prove that?