added query.clj and transactional_graph.clj
added compare.clj, fixed ns issues in predicate.clj