:- object(london, extends(location(244,54))). links([ (brighton, 52), (dover, 71), (cambridge, 54), (oxford, 57), (portsmouth, 72)]). :- end_object.