Problem: What are the most important words?
sunrise over type of place of worship
Answer: place, sunrise, type, worship

Problem: What are the most important words?
man serving a cup of coffee
Answer: coffee, cup, serve

Problem: What are the most important words?
this floral pattern of blue flowers in the form of squares
Answer:
flower, pattern, square