:- object(portsmouth, extends(location(216, 22))). links([ (brighton, 49), (exeter, 126), (london, 72)]). :- end_object.