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]
4 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]4 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
Miguel earns 2,456.75 every month he also earns an extra 4.75 every time he sells a new gym membership last month Miguel sold 32
zalisa [80]

Answer: Total amount of money earned last month = $2608.75

Step-by-step explanation:

Miguel earns 2,456.75 every month. This is his constant pay for the month. He also earns an extra 4.75 every time he sells a new gym membership.

Last month, Miguel sold 32 new gym membership. This means that the extra money that he earned for last month will be the number of new gym membership sold times the amount her earns per new gym membership sold. It becomes

32 × 4.75 = 152

Total amount of money earned last month will be sum of his monthly salary + the extra earned. It becomes

2456.75 + 152 = $2608.75

5 0
3 years ago
Which series of transformations will not map figure Q onto itself? (x + 2, y − 2), reflection over y = x − 1 (x − 2, y + 2), ref
raketka [301]

b Step-by-step explanation:

this is super easy

7 0
3 years ago
There is a ratio of 5 girls and 3 boys in the chorus. There are 24 boys in the chorus. How many girls are in the chorus
konstantin123 [22]
There are 40 girls in the Chorus.
8 0
3 years ago
Read 2 more answers
What are the solutions of the equation (2x - 2|= 8
vodka [1.7K]

Answer:

Step-by-step explanation:

Here you go mate

Step 1

(2x-2)=8  Equaion/Question

Step 2

(2x-2)=8  Simplify

(2x-2)=8

Step 3

(2x-2)=8  Add 2

2x=10

Step 4

2x=10  Divide by 2

answer

x=5

hope this helps

5 0
3 years ago
Read 2 more answers
A zoo measured the wingspan, in millimeters of 9 butterflies What is the median length of the wingspan
Kaylis [27]
I’m gonna say 24 mm explanation I’m guessing
7 0
3 years ago
Other questions:
  • How do you raise s to the 4th power ​
    5·1 answer
  • manny plans to save 1/12 of his salary each week. if his salary is$375, find the amount he will save each week
    10·2 answers
  • Lucy and Jennie are having a basketball shooting contest. A +1 is scored for every basket made and a -1 is given for each missed
    7·1 answer
  • Help :^ ;^;^;^;^;^;^;​
    11·2 answers
  • Why are radicals simplified before adding and subtracting? Explain your reasoning by adding sqrt8 and sqrt32 algebraically. Comp
    11·1 answer
  • Check if the point (-3, -5) lies on the line y= 2x -1 <br><br><br> Plzzzzz hurry
    6·1 answer
  • Which line has the same slope as the line passing through (-4,-1) and (-1,8)?
    10·1 answer
  • Observa las ilustraciones y escribe la fracción que corresponde a cada giro
    8·1 answer
  • Helpppppppppppppppp i got 2 wrong helpppppppppppppppppppppppppp ): if you help be would be branilst
    10·1 answer
  • Can you help me i will mark brainliest
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!