If they represent poles, then our geographic north pole is actually a magnetic south pole in order for the N on the compass to be attracted towards it.
(they; represent; poles) (the compass; to be attracted; towards it)
they the compass
represent to be attracted
poles
towards it