]> AND Private Git Repository - cours-maths-dis.git/blob - tpProlog/tp2/exo4.pl
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
ajout de proposition13
[cours-maths-dis.git] / tpProlog / tp2 / exo4.pl
1 word(article,a).
2 word(article,every).
3 word(noun,criminal).
4 word(noun,'big kahuna burger').
5 word(verb,eats).
6 word(verb,likes).
7 sentence(Word1,Word2,Word3,Word4,Word5) :-
8     word(article,Word1),
9     word(noun,Word2),
10     word(verb,Word3),
11     word(article,Word4),
12     word(noun,Word5).
13