GData.FreebaseSearchResultItem

Fields

None

Methods

get_id ()

get_language ()

get_mid ()

get_name ()

get_notable_id ()

get_notable_name ()

get_score ()

Details

class GData.FreebaseSearchResultItem

Opaque struct holding data for a single search result item.

New in version 0.15.1.

get_id()
Returns:

The search result item Freebase ID.

Return type:

str

Returns the Freebase ID of the search result item.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_language()
Returns:

The language of the search result item.

Return type:

str

Gets the language of this search result item, in ISO-639-1 format.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_mid()
Returns:

The result item MID.

Return type:

str

Returns the machine-encoded ID (MID) of the search result item. Elements may have a single MID, as opposed to the potentially multiple Freebase IDs that may point to it. MIDs are usable interchangeably with Freebase IDs.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_name()
Returns:

The human readable name of the item.

Return type:

str

Returns the human readable name of the search result item.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_notable_id()
Returns:

The topic the result item is most notable of, or None.

Return type:

str or None

If this search result item is notable in an specific topic, this function returns the Freebase ID of this topic.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_notable_name()
Returns:

The human readable topic name, or None

Return type:

str or None

If this search result item is notable in an specific topic, this function returns the human readable name of this topic.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_score()
Returns:

the result item score.

Return type:

float

Returns the score of this search result item. The higher, the more relevant this item seems, given the search terms.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.