Analyze the relationship between 'Petrobras' and 'RIO DE JANEIRO' within the context of the input sentence.
Options: legal form, publisher, headquarters location, location of formation

RIO DE JANEIRO (Reuters) - Brazil's state-run oil company Petrobras (PETR4.SA) said on Thursday it plans to publish second quarter results on Aug. 6.
headquarters location