A Generic Shape Matching with Anchoring of Knowledge Primitives of Object Ontology