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

Solids, a can of soup is shaped like wich solid

a can of soup is shaped like wich solid

Evaluating the function at the point of limit, Calculate the value of the f...

Calculate the value of the following limit. Solution: This first time through we will employ only the properties above to calculate the limit. Firstly we will employ prop

Fractions, What fraction could you add to 4/7 to get a sum greater than 1

What fraction could you add to 4/7 to get a sum greater than 1

Ratio, how to do them?

how to do them?

Subtract, Ask question Minimum 100 words accepted# 1000-101

Ask question Minimum 100 words accepted# 1000-101

How to converting scientific notation to standard notation , How to Convert...

How to Converting Scientific Notation to Standard Notation ? To change a number in scientific notation to standard notation, move the decimal point the same number of places as

Polar to cartesian conversion formulas, Polar to Cartesian Conversion Formu...

Polar to Cartesian Conversion Formulas x = r cos Θ y = r sin Θ Converting from Cartesian is more or less easy.  Let's first notice the subsequent. x 2 + y 2   = (r co

What is this distance expressed in standard notation, The distance from the...

The distance from the sun to the earth is approximately 9.3 × 10 7 miles. What is this distance expressed in standard notation? In order to convert this number to standard not

Discrete, For each of these arguments determine whether the argument is cor...

For each of these arguments determine whether the argument is correct or incorrect and explain why. a) Everyone enrolled in the university has lived in a dormitory. Mia has never l

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