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

Area with parametric equations - polar coordinates, Area with Parametric Eq...

Area with Parametric Equations In this section we will find out a formula for ascertaining the area under a parametric curve specified by the parametric equations, x = f (t)

Statistics, marks frequency 0-9 8 10-19 10 20-29 ...

marks frequency 0-9 8 10-19 10 20-29 14 30-39 28 40-49 46 50-59 25 60-69 17 70-79 9 80-89 2 90-99 1 (

#algebra 2 .., encoded with the matrix -3 -7 and 4 9. what lights up a socc...

encoded with the matrix -3 -7 and 4 9. what lights up a soccer stadium? ecoded message: {-3 - 7} {3 2 } {3 6} {57 127} {52 127} {77 173} {23 51)

#title.heat loss in a cylindrical pipe., briefly explain how the famous equ...

briefly explain how the famous equation for the loss of heat in a cylindrical pipe is derived

Algebra, solve for y 3x+4y=7

solve for y 3x+4y=7

Compound angles, determine the exact value of cos (11*3.145/6)

determine the exact value of cos (11*3.145/6)

Plane and solid mensuration, the area of a triangle is 20 and its base is 1...

the area of a triangle is 20 and its base is 16. Find the base of a similar triangle whose area is 45. Given is a regular pentagon. Find the measure of angle LHIK.

Surface area, Find the amount of sheet metal need to form a conical funnel ...

Find the amount of sheet metal need to form a conical funnel of base radius 30cm with a vertical height of 50cm, allowing for 0.5cm overlap. Find the total surface area?

Operation research, i have assignment in operatuion research can you help m...

i have assignment in operatuion research can you help me

Math, weather prediction on monsoon past data on project

weather prediction on monsoon past data on project

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