?- 
rename(spj,[s,p1,u,v],t11),
rename(spj,[s,p2,w,x],t12),
join(t11,t12,t13),
select(t13,[[p1,'<',p2]],t14),
project(t14,[p1,p2],t15),
displayRelation(t15).
