A road segment between 2 cities X and Y is represented using two tuples r(E,X) and e(E,Y); c(X) means X is a City. How can following be expressed in datalog query/stratified datalog
1) this is equivalent to every circuit has an even number of vertices
2) this is equivalent to every pair of vertices is part of a circuit
3) this is equivalent to the graph is Eulerian
Thank you for the reply.
Still not clear to me, is it possible if I get an example of expressing the above statments in datalog query or any URL that can help me in this regard?