Returns the text Resource.
Returns the topic Resource.
image(id, maxwidth=None, maxheight=None, fallbackid=None, pad=None, mode=None)
Returns the scaled/cropped image attached to a freebase node.
image_media(id, maxwidth=None, maxheight=None, fallbackid=None, pad=None, mode=None)
Returns the scaled/cropped image attached to a freebase node.
Performs MQL Queries.
Performs MQL Queries.
mqlwrite(query, indent=None, callback=None, dateline=None, use_permission_of=None)
Performs MQL Write Operations.
mqlwrite_media(query, indent=None, callback=None, dateline=None, use_permission_of=None)
Performs MQL Write Operations.
image(id, maxwidth=None, maxheight=None, fallbackid=None, pad=None, mode=None)
Returns the scaled/cropped image attached to a freebase node.
Args:
id: string, Freebase entity or content id, mid, or guid. (required) (repeated)
maxwidth: integer, Maximum width in pixels for resulting image.
maxheight: integer, Maximum height in pixels for resulting image.
fallbackid: string, Use the image associated with this secondary id if no image is associated with the primary id.
pad: boolean, A boolean specifying whether the resulting image should be padded up to the requested dimensions.
mode: string, Method used to scale or crop image.
Allowed values
fill - Fill rectangle completely with image, relax constraint on one dimension if necessary.
fillcrop - Fill rectangle with image, crop image to maintain rectangle dimensions.
fillcropmid - Fill rectangle with image, center horizontally, crop left and right.
fit - Fit image inside rectangle, leave empty space in one dimension if necessary.
image_media(id, maxwidth=None, maxheight=None, fallbackid=None, pad=None, mode=None)
Returns the scaled/cropped image attached to a freebase node.
Args:
id: string, Freebase entity or content id, mid, or guid. (required) (repeated)
maxwidth: integer, Maximum width in pixels for resulting image.
maxheight: integer, Maximum height in pixels for resulting image.
fallbackid: string, Use the image associated with this secondary id if no image is associated with the primary id.
pad: boolean, A boolean specifying whether the resulting image should be padded up to the requested dimensions.
mode: string, Method used to scale or crop image.
Allowed values
fill - Fill rectangle completely with image, relax constraint on one dimension if necessary.
fillcrop - Fill rectangle with image, crop image to maintain rectangle dimensions.
fillcropmid - Fill rectangle with image, center horizontally, crop left and right.
fit - Fit image inside rectangle, leave empty space in one dimension if necessary.
mqlread(query, lang=None, indent=None, callback=None, uniqueness_failure=None, dateline=None, html_escape=None, cursor=None, cost=None, as_of_time=None)
Performs MQL Queries.
Args:
query: string, An envelope containing a single MQL query. (required)
lang: string, The language of the results - an id of a /type/lang object.
indent: integer, How many spaces to indent the json.
callback: string, JS method name for JSONP callbacks.
uniqueness_failure: string, How MQL responds to uniqueness failures.
Allowed values
hard - Be strict - throw an error.
soft - Just return the first encountered object.
dateline: string, The dateline that you get in a mqlwrite response to ensure consistent results.
html_escape: boolean, Whether or not to escape entities.
cursor: string, The mql cursor.
cost: boolean, Show the costs or not.
as_of_time: string, Run the query as it would've been run at the specified point in time.
mqlread_media(query, lang=None, indent=None, callback=None, uniqueness_failure=None, dateline=None, html_escape=None, cursor=None, cost=None, as_of_time=None)
Performs MQL Queries.
Args:
query: string, An envelope containing a single MQL query. (required)
lang: string, The language of the results - an id of a /type/lang object.
indent: integer, How many spaces to indent the json.
callback: string, JS method name for JSONP callbacks.
uniqueness_failure: string, How MQL responds to uniqueness failures.
Allowed values
hard - Be strict - throw an error.
soft - Just return the first encountered object.
dateline: string, The dateline that you get in a mqlwrite response to ensure consistent results.
html_escape: boolean, Whether or not to escape entities.
cursor: string, The mql cursor.
cost: boolean, Show the costs or not.
as_of_time: string, Run the query as it would've been run at the specified point in time.
mqlwrite(query, indent=None, callback=None, dateline=None, use_permission_of=None)
Performs MQL Write Operations. Args: query: string, An MQL query with write directives. (required) indent: integer, How many spaces to indent the json. callback: string, JS method name for JSONP callbacks. dateline: string, The dateline that you get in a mqlwrite response to ensure consistent results. use_permission_of: string, Use the same permission node of the object with the specified id.
mqlwrite_media(query, indent=None, callback=None, dateline=None, use_permission_of=None)
Performs MQL Write Operations. Args: query: string, An MQL query with write directives. (required) indent: integer, How many spaces to indent the json. callback: string, JS method name for JSONP callbacks. dateline: string, The dateline that you get in a mqlwrite response to ensure consistent results. use_permission_of: string, Use the same permission node of the object with the specified id.