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

#title, IF YOU HAVE 24 BISCUITS HOW MUCH WHOLE BISCUITS DO YOU HAVE IF YOU ...

IF YOU HAVE 24 BISCUITS HOW MUCH WHOLE BISCUITS DO YOU HAVE IF YOU SHARE FIVE BETWEEN 5 FRIENDS

Solid mensuration, The two sides of a triangle are 17 cm and 28 cm long, an...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

What is larry''s salary after the raise, Larry earned $32,000 per year. The...

Larry earned $32,000 per year. Then he received a (3)1/4% rise. What is Larry's salary after the raise? If Larry earns a (3) 1/4 % (or 3.25%) raise, he will earn 103.25% of his

Find the rate at which its tip is moving, If the minute hand of a big clock...

If the minute hand of a big clock is 1.05 m long, find the rate at which its tip is moving in cm per minute.

DIFFERENTIAL EQUATIONS, WHICH LIFE PROBLEMS CAN BE SOLVED USING THE KNOWLED...

WHICH LIFE PROBLEMS CAN BE SOLVED USING THE KNOWLEDGE OF DIFFERNTIAL EQUATIONS?

Shortcuts, pls told the maths shortcuts

pls told the maths shortcuts

Explain histogramsin details, Explain Histogramsin details? Another way...

Explain Histogramsin details? Another way to display frequencies is by using a histogram. The following is an example of a histogram using the data from the previous example:

Emi, calculation of emi %

calculation of emi %

Characteristic, mention the characteristic of mathematic

mention the characteristic of mathematic

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