How do I show product ratings and customer reviews on the front end per product item


Is there anyway anyone can help me figure out how to display a customer product ratings per Item on the front end from the database?

I am able to display the product ratings but not able filter them per product page on the front end. I have already solved the relationship connection on the back end.

Keep getting this error message:
[GraphQL error]: Message: item is not defined, Location: [object Object], Path: createRating