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

Finf the value of x or y from given liner equation, 41x + 53y = 135, 53x +4...

41x + 53y = 135, 53x +41y =147 Ans:    41x + 53 y = 135, 53 x + 41 y = 147 Add the two equations : Solve it, to get ... x + y = 3 -------(1) Subtract : Solve it , to

Calculate the instantaneous rate of change of the volume, Assume that the a...

Assume that the amount of air in a balloon after t hours is specified by                                             V (t ) = t 3 - 6t 2 + 35 Calculate the instantaneous

Integration, what is integration and how is it important

what is integration and how is it important

.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

Help, how do i know what operation to use in a fraction word problem

how do i know what operation to use in a fraction word problem

Two bulbs are selected without replacement, A bag of 28 tulip bulbs contain...

A bag of 28 tulip bulbs contains 12 red tulip bulbs,7 purple tulip bulbs  and 9 yellow tulip bulbs,. Two bulbs are selected without replacement. Determine, a)    The probability t

Objective type , when is the trnscribing process of data preparation irrele...

when is the trnscribing process of data preparation irrelevant ? a)CAPI b) mall panel c) in home interview d) all of them

Integration variable, Integration variable : The next topic which we have ...

Integration variable : The next topic which we have to discuss here is the integration variable utilized in the integral. In fact there isn't actually a lot to discuss here other

Rules of game theory, Rules Of Game Theory i.   The number of competito...

Rules Of Game Theory i.   The number of competitors is finite ii.   There is conflict of interests among the participants iii.  Each of these participants has available t

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