Ordered subtree mining via transactional mapping using a structure-preserving tree database schema