-Relative to usually means dependent on.
-With/in regard to usually means relating to something; in connection with.
If you want to compare:
-The position/rank of the book in relation to the Table.
-The position/rank of the book in comparison with the Table.
If you want to mean 'in view of':
-The position of the book considering the Table.
Student or Learner