:- object(newcastle, extends(location(210, 230))). links([ (edinburgh, 104), (carlisle, 58), (york, 80)]). :- end_object.