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

Trigonmetry, How do I find a bearring using trig?

How do I find a bearring using trig?

Compute the total and annual return on the investment, 1. Calculate the ann...

1. Calculate the annual interest that you will receive on the described bond-A $500 Treasury bond with a current yield of 4 .2% that is quoted at 106 points? 2. Compute the tota

Lorie, A bourbon that is 51 proof is 25.5% alcohol by volume while one that...

A bourbon that is 51 proof is 25.5% alcohol by volume while one that is 82 proof is 41% alcohol. How many liters of 51 proof bourbon must be mixed with 1.0 liter of 82 proof bourbo

Differentiate the equation x = x (t ) and y = y (t ) , Suppose that x = x (...

Suppose that x = x (t ) and y = y (t ) and differentiate the following equation with respect to t. Solution                                         x 3 y 6 + e 1- x - cos (5

Methods of sampling, a.      Random or probability sampling methods they in...

a.      Random or probability sampling methods they involve: Simple random sampling Systematic sampling Stratified sampling Multi stage sampling   b.

Geometry, which kind of triangle has no congruent sides ?

which kind of triangle has no congruent sides ?

Assignment, how do mathematical ideas grow?

how do mathematical ideas grow?

Callie grandmother pledged $0.50 for each mile callie walked, Callie's gran...

Callie's grandmother pledged $0.50 for each mile Callie walked in her walk-a-thon. Callie walked 9 miles. How much does her grandmother owe? Multiply the number of miles (9) th

Stuck on this, I need help on radical notation for a homework assignment I'...

I need help on radical notation for a homework assignment I''m really confused on it. Can I get help?

Mathematics Logic & Set Applications, I have a 40 question assignment for t...

I have a 40 question assignment for this topic, will you be able to complete it?

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