Consider the following code :
R.<x,y,z> = QQ[];
p=(x-y)(y-z)(x-z);
J = matrix(R,[[x-y],[y]]);
J.rank();
The answer displayed is 1. Is this the rank over the polynomial ring ? I would like to compute rank over the field of rationals. What is the way to do it ?