A relational graph matching technique based on the canonical orderings of the node of a graph is presented. The node ordering process is so constrained as to result in a method running in polynomial time. An example application to block world objects is given.