uri = $uri; $this->store = $store; } public function get_accounts() { $user = $this->uri; return $this->store->do_query(" SELECT ?service ?account WHERE { <$user> foaf:holdsAccount [ foaf:accountServiceHomepage ?service ; foaf:accountName ?account . ] }"); } } ?>