subject
Biology, 14.02.2020 03:05 shayleithomas

Suppose that Prolog facts are used to define the predicates mother(M, Y ) and father(F, X), which represent that M is the mother of Y and F is the father of X, respectively. Give a Prolog rule to define the predicate grandfather(X, Y ), which represents that X is the grandfather of Y . [Hint: You can write a disjunction in Prolog either by using a semicolon to separate predicates or by putting these predicates on separate lines.]

ansver
Answers: 3

Another question on Biology

question
Biology, 21.06.2019 19:40
Biology 1c cumulative exam i need awsners
Answers: 2
question
Biology, 22.06.2019 09:00
The bacteria inside a tube worm would be analogous to what organism in the ocean ecosystem near the waters surface? a. photosynthetic algae b. shrimp c. clown fish d. parasitic lamprey
Answers: 1
question
Biology, 22.06.2019 19:10
Which of these structures are found in both plant ans animal cells?
Answers: 1
question
Biology, 22.06.2019 23:00
Electrochemical cells provide energy by allowing electrons to flow through an external circuit to electrodes contained in an electrolyte
Answers: 2
You know the right answer?
Suppose that Prolog facts are used to define the predicates mother(M, Y ) and father(F, X), which re...
Questions
question
Mathematics, 22.02.2021 03:50
question
Mathematics, 22.02.2021 03:50
question
Mathematics, 22.02.2021 03:50
question
Mathematics, 22.02.2021 03:50
question
Mathematics, 22.02.2021 03:50
question
Mathematics, 22.02.2021 03:50