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

Maximax method-decision making under uncertainty, MAXIMAX method Maxima...

MAXIMAX method Maximax method is based upon 'extreme optimism' the decision maker chooses that particular strategy which corresponds to the maximum of the maximum pay off for e

Basic, is 1/6 same as six times less

is 1/6 same as six times less

Construction, draw a equilateral triangle with length of side 6.5 cm. and l...

draw a equilateral triangle with length of side 6.5 cm. and let us draw a parallelogram equal in area to that triangle and having an angle 45 degree

Example of subtraction , Example of subtraction: Example: Subtrac...

Example of subtraction: Example: Subtract 78 from 136. Solution:     2 136 -78 ------  58 While subtracting the units column, 6 - 8, a 10 that is b

Find area of y = 2 x2 + 10 and y = 4 x + 16, Find out the area of the regio...

Find out the area of the region bounded by y = 2 x 2 + 10 and y = 4 x + 16 . Solution In this case the intersection points (that we'll required eventually) are not going t

Find the volume of ice cream cone, An ice-cream cone has a hemispherical to...

An ice-cream cone has a hemispherical top. If the height of the cone is 9 cm and base radius is 2.5 cm, find the volume of ice cream cone.

Ratio, how to make a tape diagram and a equivalent ratio

how to make a tape diagram and a equivalent ratio

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