:- object(york, extends(location(218, 184))). links([ (leeds, 23), (hull, 37), (newcastle, 80)]). :- end_object.