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

How many ounces of soup does she required, Sharon needs to make 25 half-cup...

Sharon needs to make 25 half-cup servings of soup. How many ounces of soup does she required? One cup is 8 ounces, so half a cup is 4 ounces. Multiply 25 by 4 ounces to find ou

Logarithmic functions, y=log4(x). i am unsure what this graph is supposed t...

y=log4(x). i am unsure what this graph is supposed to look like?

Trigonometry, what are reason inside a circle?

what are reason inside a circle?

SOLID MENSURATION, The base of an isosceles triangle and the altitude drawn...

The base of an isosceles triangle and the altitude drawn from one of the congruent sides are equal to 18cm and 15cm, respectively. Find the lengths of the sides of the triangle.

Probability, TWO PERSONS A AND B AGREE TO MEET AT A PLACE BTWEEN 11 TO 12 N...

TWO PERSONS A AND B AGREE TO MEET AT A PLACE BTWEEN 11 TO 12 NOON.  THE FIRST ONE TOARRIVE WAITS FOR 20 MIN AND THEN LEAVE. IF THE TIME OF THIR ARRIVAL BE INDEPENDET AND AT RNDOM,T

What is the measure of its width if its length is 3 inches, The perimeter o...

The perimeter of a rectangle is 21 inches. What is the measure of its width if its length is 3 inches greater than its width? Let x = the width of the rectangle. Let x + 3 = th

Mensuration, How do mensuration relate to the real life issues

How do mensuration relate to the real life issues

Chi square distribution, Chi Square Distribution Chi square was first ...

Chi Square Distribution Chi square was first utilized by Karl Pearson in 1900. It is denoted by the Greek letter χ 2 . This contains only one parameter, called the number of d

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