How to get aliases from Freebase?

NobCefpeemo

New Member
I just want to get from Freebase the different aliases a person can have. My PHP query is :\[code\]$query = array( array( 'id' => NULL, 'alias' => NULL, 'name' => "Barack Obama", 'type' => "/people/person" ));\[/code\]The result is:\[code\]Array (
Code:
 => /api/status/error     [messages] => Array (         [0] => Array (             [code] => /api/status/error/mql/type             [info] => Array (                 [expected_type] => /people/person                 [property] => alias             )             [message] => Type /people/person does not have property alias             [path] =>             [query] => Array (                [0] => Array (                    [alias] =>                     [error_inside] => .                     [id] =>                     [name] => Barack Obama                     [type] => /people/person                 )             )         )     )     [status] => 200 OK     [transaction_id] => cache;cache01.p01.sjc1:8101;2012-05-11T16:17:29Z;0082 )\[/code\]Can someone help me?
 
Back
Top