I think heredity(bird,X)<- can(bird,X), have (bird,X), subclass(bird,X).
On Sat, Oct 20, 2012 at 3:06 AM, Victor Manuel Grijalva Altamirano < kavic1.mar...@gmail.com> wrote: > Hi, i am new programming with prolog, i hav the next sentence... > > can(bird,fly). > have(bird,wings). > subclass(bird,animal). > > > I want to query heredity(bird,X) and i want the answer "X= fly, wings, > animal" , i want all the information of the sentences... > > Can help me? ... i am reading about funtor/3 , arg/3 ,... > -- > Victor Manuel Grijalva Altamirano > Universidad Tecnologica de La Mixteca > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.