diff options
Diffstat (limited to 'prolog')
18 files changed, 18 insertions, 18 deletions
diff --git a/prolog/problems/family_relations/ancestor_2/en.py b/prolog/problems/family_relations/ancestor_2/en.py index b10f011..5ae1bd0 100644 --- a/prolog/problems/family_relations/ancestor_2/en.py +++ b/prolog/problems/family_relations/ancestor_2/en.py @@ -2,7 +2,7 @@ name = 'ancestor/2' slug = 'the ancestor relation' description = '''\ -<p><code>ancestor(?X, ?Y)</code>: <code>X</code> is an ancestor (parent, grandparent, …) of <code>Y</code>.</p> +<p><code>ancestor(X, Y)</code>: <code>X</code> is an ancestor (parent, grandparent, …) of <code>Y</code>.</p> <pre> ?- ancestor(patricia, X). X = john ; diff --git a/prolog/problems/family_relations/ancestor_2/sl.py b/prolog/problems/family_relations/ancestor_2/sl.py index 1436f84..5d05696 100644 --- a/prolog/problems/family_relations/ancestor_2/sl.py +++ b/prolog/problems/family_relations/ancestor_2/sl.py @@ -2,7 +2,7 @@ name = 'ancestor/2' slug = 'X je prednik od Y' description = '''\ -<p><code>ancestor(?X, ?Y)</code>: <code>X</code> je prednik (oče, mama, babica, +<p><code>ancestor(X, Y)</code>: <code>X</code> je prednik (oče, mama, babica, pradedek, …) od <code>Y</code>.</p> <pre> ?- ancestor(patricia, Y). Y = john ; diff --git a/prolog/problems/family_relations/aunt_2/en.py b/prolog/problems/family_relations/aunt_2/en.py index 694b747..4314a7a 100644 --- a/prolog/problems/family_relations/aunt_2/en.py +++ b/prolog/problems/family_relations/aunt_2/en.py @@ -2,7 +2,7 @@ name = 'aunt/2' slug = 'the aunt relation' description = '''\ -<p><code>aunt(?X, ?Y)</code>: <code>X</code> is an aunt of <code>Y</code>.</p> +<p><code>aunt(X, Y)</code>: <code>X</code> is an aunt of <code>Y</code>.</p> <pre> ?- aunt(sally, X). X = vanessa ; diff --git a/prolog/problems/family_relations/aunt_2/sl.py b/prolog/problems/family_relations/aunt_2/sl.py index 1c72bd3..45b6f16 100644 --- a/prolog/problems/family_relations/aunt_2/sl.py +++ b/prolog/problems/family_relations/aunt_2/sl.py @@ -2,7 +2,7 @@ name = 'aunt/2' slug = 'X je teta od Y' description = '''\ -<p><code>aunt(?X, ?Y)</code>: <code>X</code> je teta od <code>Y</code>.</p> +<p><code>aunt(X, Y)</code>: <code>X</code> je teta od <code>Y</code>.</p> <pre> ?- aunt(sally, Y). Y = vanessa ; diff --git a/prolog/problems/family_relations/brother_2/en.py b/prolog/problems/family_relations/brother_2/en.py index 4992069..1295450 100644 --- a/prolog/problems/family_relations/brother_2/en.py +++ b/prolog/problems/family_relations/brother_2/en.py @@ -2,7 +2,7 @@ name = 'brother/2' slug = 'the brother relation' description = '''\ -<p><code>brother(?X, ?Y)</code>: <code>X</code> is a brother of <code>Y</code>.</p> +<p><code>brother(X, Y)</code>: <code>X</code> is a brother of <code>Y</code>.</p> <pre> ?- brother(jeffrey, X). X = william ; diff --git a/prolog/problems/family_relations/brother_2/sl.py b/prolog/problems/family_relations/brother_2/sl.py index b97d2db..2c8ec2a 100644 --- a/prolog/problems/family_relations/brother_2/sl.py +++ b/prolog/problems/family_relations/brother_2/sl.py @@ -2,7 +2,7 @@ name = 'brother/2' slug = 'X je brat od Y' description = '''\ -<p><code>brother(?X, ?Y)</code>: <code>X</code> je brat od <code>Y</code>.</p> +<p><code>brother(X, Y)</code>: <code>X</code> je brat od <code>Y</code>.</p> <pre> ?- brother(jeffrey, X). Y = william ; diff --git a/prolog/problems/family_relations/cousin_2/en.py b/prolog/problems/family_relations/cousin_2/en.py index 6c09e79..4ca9c87 100644 --- a/prolog/problems/family_relations/cousin_2/en.py +++ b/prolog/problems/family_relations/cousin_2/en.py @@ -2,7 +2,7 @@ name = 'cousin/2' slug = 'the cousin relation' description = '''\ -<p><code>cousin(?X, ?Y)</code>: <code>X</code> is a cousin (male or female) of <code>Y</code>.</p> +<p><code>cousin(X, Y)</code>: <code>X</code> is a cousin (male or female) of <code>Y</code>.</p> <pre> ?- cousin(andrew, X). X = vanessa ; diff --git a/prolog/problems/family_relations/cousin_2/sl.py b/prolog/problems/family_relations/cousin_2/sl.py index 7499e86..6d4fd6c 100644 --- a/prolog/problems/family_relations/cousin_2/sl.py +++ b/prolog/problems/family_relations/cousin_2/sl.py @@ -2,7 +2,7 @@ name = 'cousin/2' slug = 'X je bratranec ali sestrična od Y' description = '''\ -<p><code>cousin(?X, ?Y)</code>: <code>X</code> je bratranec ali sestrična od +<p><code>cousin(X, Y)</code>: <code>X</code> je bratranec ali sestrična od <code>Y</code>.</p> <pre> ?- cousin(andrew, Y). diff --git a/prolog/problems/family_relations/descendant_2/en.py b/prolog/problems/family_relations/descendant_2/en.py index b542ffb..bc7b795 100644 --- a/prolog/problems/family_relations/descendant_2/en.py +++ b/prolog/problems/family_relations/descendant_2/en.py @@ -2,7 +2,7 @@ name = 'descendant/2' slug = 'the descendant relation' description = '''\ -<p><code>descendant(?X, ?Y)</code>: <code>X</code> is a descendant (child, grandchild, …) of <code>Y</code>.</p> +<p><code>descendant(X, Y)</code>: <code>X</code> is a descendant (child, grandchild, …) of <code>Y</code>.</p> <pre> ?- descendant(patricia, X). X = william ; diff --git a/prolog/problems/family_relations/descendant_2/sl.py b/prolog/problems/family_relations/descendant_2/sl.py index d9e5016..0547da7 100644 --- a/prolog/problems/family_relations/descendant_2/sl.py +++ b/prolog/problems/family_relations/descendant_2/sl.py @@ -2,7 +2,7 @@ name = 'descendant/2' slug = 'the descendant relation' description = '''\ -<p><code>descendant(?X, ?Y)</code>: <code>X</code> je potomec (otrok, vnuk, +<p><code>descendant(X, Y)</code>: <code>X</code> je potomec (otrok, vnuk, pravnukinja, …) od <code>Y</code>.</p> <pre> ?- descendant(patricia, Y). diff --git a/prolog/problems/family_relations/father_2/en.py b/prolog/problems/family_relations/father_2/en.py index ab0cb95..b37c666 100644 --- a/prolog/problems/family_relations/father_2/en.py +++ b/prolog/problems/family_relations/father_2/en.py @@ -2,7 +2,7 @@ name = 'father/2' slug = 'the father-child relation' description = '''\ -<p><code>father(?X, ?Y)</code>: <code>X</code> is the father of <code>Y</code>.</p> +<p><code>father(X, Y)</code>: <code>X</code> is the father of <code>Y</code>.</p> <pre> ?- father(thomas, william). true. diff --git a/prolog/problems/family_relations/father_2/sl.py b/prolog/problems/family_relations/father_2/sl.py index 89d4ac0..15ec9df 100644 --- a/prolog/problems/family_relations/father_2/sl.py +++ b/prolog/problems/family_relations/father_2/sl.py @@ -2,7 +2,7 @@ name = 'father/2' slug = 'X je oče od Y' description = '''\ -<p><code>father(?X, ?Y)</code>: <code>X</code> je oče od <code>Y</code>.</p> +<p><code>father(X, Y)</code>: <code>X</code> je oče od <code>Y</code>.</p> <pre> ?- father(thomas, william). true. diff --git a/prolog/problems/family_relations/grandparent_2/en.py b/prolog/problems/family_relations/grandparent_2/en.py index e3f3c22..3aa9bfe 100644 --- a/prolog/problems/family_relations/grandparent_2/en.py +++ b/prolog/problems/family_relations/grandparent_2/en.py @@ -2,7 +2,7 @@ name = 'grandparent/2' slug = 'the grandparent relation' description = '''\ -<p><code>grandparent(?P, ?C)</code>: <code>P</code> is a grandparent of <code>C</code>.</p> +<p><code>grandparent(P, C)</code>: <code>P</code> is a grandparent of <code>C</code>.</p> <pre> ?- grandparent(tina, X). X = vanessa ; diff --git a/prolog/problems/family_relations/grandparent_2/sl.py b/prolog/problems/family_relations/grandparent_2/sl.py index 09521d0..ff8a808 100644 --- a/prolog/problems/family_relations/grandparent_2/sl.py +++ b/prolog/problems/family_relations/grandparent_2/sl.py @@ -2,7 +2,7 @@ name = 'grandparent/2' slug = 'X je dedek ali babica od Y' description = '''\ -<p><code>grandparent(?X, ?Y)</code>: <code>X</code> je dedek ali babica od +<p><code>grandparent(X, Y)</code>: <code>X</code> je dedek ali babica od <code>Y</code>.</p> <pre> ?- grandparent(tina, Y). diff --git a/prolog/problems/family_relations/mother_2/en.py b/prolog/problems/family_relations/mother_2/en.py index dca6c14..f8cda9a 100644 --- a/prolog/problems/family_relations/mother_2/en.py +++ b/prolog/problems/family_relations/mother_2/en.py @@ -2,7 +2,7 @@ name = 'mother/2' slug = 'the mother-child relation' description = '''\ -<p><code>mother(?M, ?C)</code>: <code>M</code> is the mother of <code>C</code>.</p> +<p><code>mother(M, C)</code>: <code>M</code> is the mother of <code>C</code>.</p> <pre> ?- mother(tina, william). true. diff --git a/prolog/problems/family_relations/mother_2/sl.py b/prolog/problems/family_relations/mother_2/sl.py index 0e32180..2b53800 100644 --- a/prolog/problems/family_relations/mother_2/sl.py +++ b/prolog/problems/family_relations/mother_2/sl.py @@ -2,7 +2,7 @@ name = 'mother/2' slug = 'X je mama od Y' description = '''\ -<p><code>mother(?X, ?Y)</code>: <code>X</code> je mama od <code>Y</code>.</p> +<p><code>mother(X, Y)</code>: <code>X</code> je mama od <code>Y</code>.</p> <pre> ?- mother(tina, william). true. diff --git a/prolog/problems/family_relations/sister_2/en.py b/prolog/problems/family_relations/sister_2/en.py index 5e6f9b8..9b78c95 100644 --- a/prolog/problems/family_relations/sister_2/en.py +++ b/prolog/problems/family_relations/sister_2/en.py @@ -2,7 +2,7 @@ name = 'sister/2' slug = 'the sister relation' description = '''\ -<p><code>sister(?X, ?Y)</code>: <code>X</code> is a sister of <code>Y</code>.</p> +<p><code>sister(X, Y)</code>: <code>X</code> is a sister of <code>Y</code>.</p> <pre> ?- sister(vanessa, X). X = patricia. diff --git a/prolog/problems/family_relations/sister_2/sl.py b/prolog/problems/family_relations/sister_2/sl.py index 769377c..d0c81c2 100644 --- a/prolog/problems/family_relations/sister_2/sl.py +++ b/prolog/problems/family_relations/sister_2/sl.py @@ -2,7 +2,7 @@ name = 'sister/2' slug = 'X je sestra od Y' description = '''\ -<p><code>sister(?X, ?Y)</code>: <code>X</code> je (pol)sestra od <code>Y</code>. Primer:</p> +<p><code>sister(X, Y)</code>: <code>X</code> je (pol)sestra od <code>Y</code>. Primer:</p> <pre> ?- sister(vanessa, Y). Y = patricia. |