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
Find the unknown number in the equation. 12-4=1+?+1
bagirrra123 [75]

Answer:

3

Step-by-step explanation:

12-4=5 and 1+3+1 also equals 5.

4 0
3 years ago
Read 2 more answers
Which of the following are proper units of mass in the metric system
sammy [17]

kilogram and milligram are proper units of mass in the metric system . Anything with the suffix -gram is a mass measurement  Hope this helps!

7 0
4 years ago
The scale on a map is 1 cm = 50 miles.
kvv77 [185]

Answer:

240 miles.

Step-by-step explanation:

That is the answer because 4.8 x 5- is 240.

Hope this helps! Have a GREAT day (:

5 0
4 years ago
Plz help me fast. I'll give 5 points ​
lidiya [134]
A parallelogram has two pairs of opposite equal angles.
ABCD so
A = C and B = D

A = 2x + 35
C = 3x - 5

2x + 35 = 3x - 5
35 + 5 = 3x - 2x
40 = x

A = (2 x 40) + 35 = 115
A = C = 115

Sum of angles of a quadrilateral = 360

Angles B and D are equal
So
B = (360 - (115 + 115))/ 2
= 130/2
= 65

B = D = 65
6 0
3 years ago
Which statement is NOT supported by the table
Greeley [361]
I believe the answer is A. I’m sorry if this is incorrect.
7 0
3 years ago
Other questions:
  • What’s the value of y in 3x+x=9
    14·1 answer
  • Your autimobile averages 23 miles of gas your work place is approximatly 18 miles from home one way. Your mother lives 30 miles
    5·1 answer
  • An art student wishes to create a clay sphere as part of a sculpture. If the clay’s density is approximately 88 pounds per cubic
    5·1 answer
  • What transformation of the parent function f(x) is made to get 4f(x + 2)?
    15·1 answer
  • Find all real zeros of the function y = -7x+8.
    5·2 answers
  • A total of 408 tickets were sold for the school play. They were either adult tickets or student tickets. The number of student t
    7·1 answer
  • PLEASE HELP ME PASS THIS COURSE
    6·1 answer
  • Which decimal has the greatest value0.0005, 0.5 or 0.05 ?
    9·2 answers
  • Please answer the following question(math question)<br>don't spam​
    11·1 answer
  • Type the correct answer in the box. Write your answer as a whole number.The radius of the base of a cylinder is 10 cm, and its h
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!