This study addresses the limitations of context-aware trust evaluation in e-commerce systems by introducing a weighted ontology tree that improves context similarity measurement. The authors propose a novel method that uses normalized similarity scores to enhance the quality of ontology trees, ultimately leading to better trust evaluation performance. Experimental results demonstrate that this new approach significantly outperforms existing methods in context similarity computation.