Determine the properties and query are definable in datalog, Mathematics

Assignment Help:

We now focus on the use of Datalog for defining properties and queries m graphs.

(a) Suppose that P is some property of graphs definable in Datalog. Show drat P is preserved under extensions and homomorphisms. That is, if G is a graph satisfying P, then every supergraph of G (i.e., graph extending G) satisfies P, and if h is a graph homomorphism, then h (G) satisfies P.

Which of the following properties and queries on graphs are definable in Datalog?

b) The number of vertices is even.

(c) There is a simple path (i.e., a path without repeated vertices) of even length between two specified vertices.

(d) The binary relation T containing all pairs of vertices (a, D) for which there is a path of even length from o to b. Provide either a Datalog program defining the property or query or an argument why the property or query is not definable in Datalog.

 


Related Discussions:- Determine the properties and query are definable in datalog

????????, ?????? ?????? ?? ???? ??????? ???????? ?????? 3.5 ?? ??? ???? ???...

?????? ?????? ?? ???? ??????? ???????? ?????? 3.5 ?? ??? ???? ???? ????? 50??/???? ??????20??/???? ???? ?? ?? ?????? ???????? ??? ??? ?? ??????? ??????? ? ?? ????? ????

Inverse function, how to solve the equation of an inverse function

how to solve the equation of an inverse function

Multiply 3 (x + 4) = 3x + 12 to find out the total perimeter, Jake required...

Jake required to find out the perimeter of an equilateral triangle whose sides measure x + 4 cm each. Jake realized that he could multiply 3 (x + 4) = 3x + 12 to find out the total

Vectors, why minimum three coplanar vectors are required to give zero resul...

why minimum three coplanar vectors are required to give zero resultant and not two?

.fractions, what is the difference between North America''s part of the tot...

what is the difference between North America''s part of the total population and Africa''s part

Which team should get the ball at the beginning, Why is tossing a coin cons...

Why is tossing a coin considered to be a fair way of deciding which team should get the ball at the beginning of a foot ball match? Ans: equally likely because they are mutual

Evaluate of the largest angle, The measures of the angles of a triangle are...

The measures of the angles of a triangle are in the ratio of 3:4:5. Evaluate of the largest angle. a. 75° b. 37.5° c. 45° d. 60° a. The addition of the measures of t

Determine does this point lie on the line, Does this Point Lie on The Line?...

Does this Point Lie on The Line? How do you know if a point lies on a given line? For example, does the point (1, 2) lie on the line 3x + y = 7? If you graph the line and the

Pythagorean theorem, How do you find the perimeter of an irregular shape us...

How do you find the perimeter of an irregular shape using Pythagorean theorem?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd