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

Characteristics of exponential smoothing, Characteristics of Exponential Sm...

Characteristics of Exponential Smoothing 1. More weight is described to the most recent data. 2. All past data are incorporated not like in moving averages. 3. Les

How many more cm are required to reach the average monthly, Thomas is remai...

Thomas is remaining track of the rainfall in the month of May for his science project. The first day, 2.6 cm of rain fell. On the second day, 3.4 cm fell. On the third day, 2.1 cm

Functions and graphs, Functions and Graphs Need assistance, Please de...

Functions and Graphs Need assistance, Please describe Functions and Graphs.

Properties of summation notation, Properties Now there are a couple of ...

Properties Now there are a couple of formulas for summation notation. 1. here c is any number. Therefore, we can factor constants out of a summation. 2. T

Definition of limit, Definition of limit : Consider that the limit of f(x)...

Definition of limit : Consider that the limit of f(x) is L as x approaches a & write this as provided we can make f(x) as close to L as we desire for all x adequately clos

Exponential and geometric model, Exponential and Geometric Model Expo...

Exponential and Geometric Model Exponential model  y = ab x Take log of both sides log y = log a + log b x log y = log a + xlog b Assume log y = Y and log a

MARKET TARGETING STATERGIES, A MANUFACTURING UNIT IS INTERESTED IN DEVELOPI...

A MANUFACTURING UNIT IS INTERESTED IN DEVELOPING A BENEFIT SEGMENTATION OF THE CAMERA MARKET. SUGGEST SOME MAJOR BENEFIT SEGMENT WITH MARKET TARGETING STRATEGIES?

Determine the volume of the hollow solid, A solid is formed by cutting the ...

A solid is formed by cutting the top off of a cone with a slice parallel to the base, and then cutting a cylindrical hole into the resulting solid. Determine the volume of the holl

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