Just use:
$locality = qp($html)->find('meta[property="og:locality"]')->attr("content");
Where $html
is the html page you want to parse. $locality
would have the value London
based on your given example.
Here's a good general tutorial: http://www.ibm.com/developerworks/web/library/os-php-querypath/index.html