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
The math test scores of Mrs. Hunter's class are shown below:
pishuonlain [190]

Answer:

82

Step-by-step explanation:

Well since everything is already in order from least to greatest:

48, 56, 68, 72, 72, 78, 78, 80, 82, 84, 88, 88, 88, 90, 94, 98, 100

The median is the number in the middle

So 82 is the median

Hope this helps!

Feel free to comment any questions you have!

6 0
3 years ago
Using the formula T=7V+W, find the value of V when T = 26 and W = 5
ivann1987 [24]
26=7v + 5
21=7v
V=21/3
V=3
5 0
3 years ago
Read 2 more answers
Flies in a nest double every 12 hours. If the nest starts with 10 flies, how many will you have in 3 days?
irinina [24]
You would have 640 flies in 3 days.
5 0
3 years ago
PlEase explain where the decimal and zero comes in for 4840/90?
Anika [276]

Answer:

Read my explanation

Step-by-step explanation:

Since they both end with a 0, you can just cancel it out. So you'd have 484/9.

The answer to that is 53.7777777777...

So the decimal would come before the 3 and after the 7.

I hope this helped and have a good rest of your day!

6 0
3 years ago
What percent of 56 is 14?
Marysya12 [62]

Answer:

25 percent

Step-by-step explanation:

Of means multiply and is means equals

P * 56 = 14

Divide each side by 56

P = 14/56

P = .25

To change to a percent, multiply by 100

P = 25 percent

4 0
3 years ago
Read 2 more answers
Other questions:
  • The weight of <br> 10,000<br> identical samples of a substance is <br> 1<br> pound.
    9·1 answer
  • Picture Perfect Physician’s has 5 employees. FICA Social Security taxes are 6.2% of the first $118,500 paid to each employee, an
    15·1 answer
  • Triangle A″B″C″ is formed by a reflection over x = 1 and dilation by a scale factor of 2 from the origin. Which equation shows t
    6·1 answer
  • Find and simplify the quotient 2/3 divided by 8/9
    8·1 answer
  • What is the value of x to the nearest tenth
    9·1 answer
  • Find the product.<br><br> (n + 4)2
    13·2 answers
  • Help please see picture
    14·1 answer
  • Foiuhgfdknsmlaeszxcyfvugbihnoj
    10·1 answer
  • Part 2! Please help once again! This is confusing me since I've never been good at geo. :((
    6·1 answer
  • Can someone help me with this and show me how to do it?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!