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

Ratio-categories of situations requiring division , Ratio - situations in ...

Ratio - situations in which we need to compare two quantities in terms of their ratio. (e.g., if Munna weighs 40 Kg. and Munni weighs 50 Kg., find the ratio of their weights.)

#title.algebra., how do i understand algebra? whats the formula i just dont...

how do i understand algebra? whats the formula i just dont get it

Permuation and combination, how many words can be formed from letters of wo...

how many words can be formed from letters of word daughter such that word contain 2vowles and 3consonant

Business applications, Business Applications In this section let's tak...

Business Applications In this section let's take a look at some applications of derivatives in the business world.  For the most of the part these are actually applications wh

Application of probability in business, Application of Probability in Busin...

Application of Probability in Business 1. Business games of chance for illustration, Raffles Lotteries. 2. Insurance firms: this is generally done when a new client or prop

Prove that the height of the cloud , HE IGHTS AND DISTANCES If the ...

HE IGHTS AND DISTANCES If the angle of elevation of cloud from a point 'h' meters above a lake is α and the angle of depression of its reflection in the lake is  β , prove

What is pythagorean triples, What is Pythagorean Triples? A set of thre...

What is Pythagorean Triples? A set of three numbers a, b, and c that can satisfy the equation A 2 +b 2 = c 2 , is called a Pythagorean triple. The following is a list of

Geometry , Solving for X in isosceles triangles

Solving for X in isosceles triangles

How many can speak both english and russian, In a group of 1000 people, the...

In a group of 1000 people, there are 750 people will speak English and 400 people will speak Russian. How many may speak English only? How many will speak Russian? How many can spe

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