1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Molodets [167]
3 years ago
6

Suppose that Prolog facts are used to define the pred- icates mother(M, Y) and father(F, X), which represent that M is the mothe

r of Y and F is the father of X, re- spectively. Give a Prolog rule to define the predicate grandfather(X, Y), which represents that X is the grand- father 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.]
Mathematics
1 answer:
VikaD [51]3 years ago
7 0

Answer and Explanation:

The Prolog rule expresses that logical implication (:-) describes the relationship between facts.

Prolog expressions are containing truth-functional symbols, which have the same intervention as in predicate calculus.

For example:  

English Predicate calculus prolog

and ^ ,

or v ;

By using information, given in the question,

We can make prolog:

Grandfather(X, Y)  :-mother(M,Y), father(X,M); father (F, Y), father(X,F)

Prolog (:- ) means define,

Prolog (,) represents a conjunction

And

Prolog (;) represent a disjunction

You might be interested in
What is the surface area of the cylinder?
Aleks04 [339]

Step-by-step explanation:

A=2πrh+2πr2 ans for 1 one

8 0
2 years ago
a cafeteria used 128.5 kilograms of beans to make 5 batches of chili. what quantity of beans went into each batch
nikdorinn [45]

Answer:25.7

Step-by-step explanation:

7 0
3 years ago
Which of the following is the graph of y = 5?
Annette [7]
Slope: 0
Y-intercept: 5
The answer is 0,5
I hope this helps.
8 0
3 years ago
Need help with this math question <br>will give 5 stars and mark best<br>​
Stolb23 [73]
I used similarities in triangles

5 0
2 years ago
What is 55x690-20+438x129=? <br> I will give brainliest.
frosja888 [35]

Answer:

don't know it sorry about tht

7 0
2 years ago
Read 2 more answers
Other questions:
  • PLZ HELP ASAP!!!!!!!! Simplify. 3/5+(−1/4)/7/10 Enter your answer, in simplest form, in the boxes.
    10·1 answer
  • Red drum, sciaenops ocellatus, is a game fish found in the Atlantic Ocean and in the Gulf of Mexico. A reasonable estimate of th
    12·1 answer
  • Find The Area Of The Figure
    8·1 answer
  • An iPhone selling for $1400 is on sale for the holiday for $400. What was the markdown rate? round to the nearest percent
    15·1 answer
  • Arline's in Aplus bar always the same distance apart and they never me
    11·1 answer
  • Please help me I need help
    8·1 answer
  • Which of the following pairs of events are mutually exclusive? Rolling a die; A={Rolling an even number}, B={Rolling a number gr
    5·1 answer
  • If the sides of two polygons are in the ratio of 2:5, What is the ratio of the areas of the two polygons? *
    13·1 answer
  • The ABC manufacturing firm, the average withdrawal rate for product A is 20
    12·2 answers
  • On average five birds hit the Washington Monument and are killed each week. Joe, an
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!