Assertion: trigger | /r/CapableOf | perform a soql query
Facets:
value: to get all child opportunities
type: PURPOSE
Source sentences:
text: The trigger first performs a SOQL query to get all child opportunities for the accounts that the trigger fired on.