Re: Look for a mother of a child (Roelof Wobben)

"Richard A. O'Keefe" <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 9/03/2014, at 12:48 PM, Kaitain Jones wrote:
> 
> I also prefer
> 
> is_mother_of( Mother, Child )
> 
> in the same way that I would prefer
> 
> is_greater_than( BigNumber, SmallNumber )
> 
> ...but some people think the other way around makes more sense to them.
> (Shrugs.) Just be consistent, I suppose.

My preference here is 

	mother_child(Mother, Child)

where the order of the words in the predicate name
matches the order of the arguments.

Since this relation has a Child->Mother functional
dependency (or very nearly; I am aware of all the
modern variations from surrogacy to egg donation)
I would probably use

	child_mother(Child, Mother)
	child_father(Child, Father)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.