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

Percentage, At an office, the manager earns 40% more than a first year empl...

At an office, the manager earns 40% more than a first year employees. The employee earns what fraction of the manager earnings?

How much money does she have left, Mary has $2 in her pocket. She does yard...

Mary has $2 in her pocket. She does yard work for four various neighbors and earns $3 per yard. She then spends $2 on a soda. How much money does she have left? This translates

Geometry, #question.onstruct/draw geometric shapes with specific condition....

#question.onstruct/draw geometric shapes with specific condition.

Which formula he use if he does not paint bottom of tank, Al is painting a ...

Al is painting a right cylinder storage tank. In sequence to purchase the correct amount of paint he requires to know the total surface area to be painted. Which formula will he us

Triganometry, Ask question #Minimum 100 words what is the hypotunus of a r...

Ask question #Minimum 100 words what is the hypotunus of a right bangled triangle a=5@ b=25 find c accwhepted#

Power of iota, The next topic that we desire to discuss here is powers of i...

The next topic that we desire to discuss here is powers of i. Let's just take a look at what occurring while we start looking at many powers of i . i 1 = i

Revenue and profit functions, Now let's move onto the revenue & profit func...

Now let's move onto the revenue & profit functions. Demand function or the price function Firstly, let's assume that the price which some item can be sold at if there is

Proportions Ratios, Give me an example , please : 1 over 2 , 14 over twenty...

Give me an example , please : 1 over 2 , 14 over twenty-eight

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