% name,id city('New York',1). city('London',2). city('Warsaw',3). % cityid,name,id usr(1,'John',1). usr(1,'Marry',2). usr(2,'Eva',3). usr(3,'Zby',4).