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
Solve the system of equations.
Leno4ka [110]
I don’t know sorry thanks for the points
3 0
3 years ago
Helppppppp??????!!!!!!!!!!
zzz [600]
I think the answer would be C. (btw, you should charge your phone/tablet, lol)
7 0
3 years ago
How do you do these questions?
Alika [10]

Answer:

a) - 7 dollars

b) 24.30 dollars

c) - 5 dollars

Step-by-step explanation:

b) 27 / 10%

Divide 27 by 10/100 by multiplying 27 by the reciprocal of 10/100.

27 x 100/10

Multiply 27 and 100 to get 2700.

2700/10

Divide 2700 by 10 to get 270.

270

Divide 270 by 100 to get 2.7

Subtract 27.00 - 2.7 = 24.30

24.30

4 0
3 years ago
F - 3/4=5/6. Please answer soon thanks
ad-work [718]
F - 3/4 = 5/6
Add 3/4 to both sides to get
F = 5/6 + 3/4 = 19/12
5 0
3 years ago
A local environmental group was interested in estimating the total amount (in pounds) of recycled material that is collected wee
Vlad [161]

Answer:huh

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • PLEASE HELP!!! ​WILL MARK BRAINIEST
    9·1 answer
  • Describe a real world scenario that is an arithmetic series. Show your work as you find the 7th term of your scenario.
    10·1 answer
  • Rectangle A is two times larger than Rectangle B. Rectangle B is 8
    10·1 answer
  • Christopher columbus' ships had traveled for 16 days. How many miles did they travel in a day, on average, if the distance of th
    13·2 answers
  • 7√, 4√2, 2√5 from least to greatest
    7·1 answer
  • Mariana is making a large pot of pasta. She mixes together 5 1 8 pounds of pasta, 6 pounds of sauce, and 4 7 8 pounds of onions.
    13·2 answers
  • 3 = c/-11 Help me with this please.
    15·1 answer
  • LOOK HERE!!! Help please! Lots of points! Will mark Brainliest!
    6·1 answer
  • An object is launched upward from 62.5 meters above ground level with an
    14·1 answer
  • How do you find the circumference of a circle??​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!