<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3096233-9']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.freebase.com/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.freebase.com/wiki/index.php?title=Special:Contributions/Masouras50&amp;feed=atom&amp;limit=50&amp;target=Masouras50&amp;year=&amp;month=</id>
		<title>Freebase - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.freebase.com/wiki/index.php?title=Special:Contributions/Masouras50&amp;feed=atom&amp;limit=50&amp;target=Masouras50&amp;year=&amp;month="/>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Special:Contributions/Masouras50"/>
		<updated>2013-05-25T08:17:48Z</updated>
		<subtitle>From Freebase</subtitle>
		<generator>MediaWiki 1.16.4</generator>

	<entry>
		<id>http://wiki.freebase.com/wiki/Announcements</id>
		<title>Announcements</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Announcements"/>
				<updated>2012-12-19T13:24:04Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains important dates and announcements regarding freebase.com and the freebase apis. &lt;br /&gt;
&lt;br /&gt;
=Pending Changes=&lt;br /&gt;
&lt;br /&gt;
==February 11, 2013 - Shut-down of legacy APIs==&lt;br /&gt;
All requests to *.freebase.com/api/* will be deprecated and start failing. &lt;br /&gt;
http://markmail.org/message/mbn25c6d7vju76j6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Janyary 14, 2013 - Shut-down of legacy APIs (www domain)==&lt;br /&gt;
All requests to www.freebase.com/api/* will be deprecated and start failing. &lt;br /&gt;
http://markmail.org/message/mbn25c6d7vju76j6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Released=&lt;br /&gt;
&lt;br /&gt;
==October 15, 2012 - legacy Freebase APIs will stop affecting www.sandbox-freebase.com ==&lt;br /&gt;
Requests to legacy sandbox APIs - http://api.sandbox-freebase.com - will continue working but changes in www.sandbox-freebase.com will not be reflected in the APIs. We will shut down the APIs completely soon after that. &lt;br /&gt;
&lt;br /&gt;
==June 12, 2012 - www.sandbox-freebase.com/api/* moves to api.sandbox-freebase.com/api/* ==&lt;br /&gt;
GET API requests to www.sandbox-freebase.com/api/* will be redirected with a 301 to api.sandbox-freebase.com. POSTs will fail, apart from /api/account/ requests.&lt;br /&gt;
&lt;br /&gt;
==July 31, 2012 - www.freebase.com/api/* moves to api.freebase.com/api/* ==&lt;br /&gt;
GET API requests to www.freebase.com/api/* will be redirected with a 301 to api.sandbox-freebase.com. POSTs will fail, apart from /api/account/ requests. &lt;br /&gt;
&lt;br /&gt;
==September 4th, 2012 - Legacy Freebase Suggest widget deprecated.==&lt;br /&gt;
Please start using the new widget: http://wiki.freebase.com/wiki/Freebase_Suggest&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Announcements</id>
		<title>Announcements</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Announcements"/>
				<updated>2012-12-19T13:23:29Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains important dates and announcements regarding freebase.com and the freebase apis. &lt;br /&gt;
&lt;br /&gt;
=Pending Changes=&lt;br /&gt;
&lt;br /&gt;
==Janyary 14, 2013 - Shut-down of legacy APIs==&lt;br /&gt;
All requests to *.freebase.com/api/* will be deprecated and start failing. &lt;br /&gt;
http://markmail.org/message/mbn25c6d7vju76j6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Janyary 14, 2013 - Shut-down of legacy APIs (www domain)==&lt;br /&gt;
All requests to www.freebase.com/api/* will be deprecated and start failing. &lt;br /&gt;
http://markmail.org/message/mbn25c6d7vju76j6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Released=&lt;br /&gt;
&lt;br /&gt;
==October 15, 2012 - legacy Freebase APIs will stop affecting www.sandbox-freebase.com ==&lt;br /&gt;
Requests to legacy sandbox APIs - http://api.sandbox-freebase.com - will continue working but changes in www.sandbox-freebase.com will not be reflected in the APIs. We will shut down the APIs completely soon after that. &lt;br /&gt;
&lt;br /&gt;
==June 12, 2012 - www.sandbox-freebase.com/api/* moves to api.sandbox-freebase.com/api/* ==&lt;br /&gt;
GET API requests to www.sandbox-freebase.com/api/* will be redirected with a 301 to api.sandbox-freebase.com. POSTs will fail, apart from /api/account/ requests.&lt;br /&gt;
&lt;br /&gt;
==July 31, 2012 - www.freebase.com/api/* moves to api.freebase.com/api/* ==&lt;br /&gt;
GET API requests to www.freebase.com/api/* will be redirected with a 301 to api.sandbox-freebase.com. POSTs will fail, apart from /api/account/ requests. &lt;br /&gt;
&lt;br /&gt;
==September 4th, 2012 - Legacy Freebase Suggest widget deprecated.==&lt;br /&gt;
Please start using the new widget: http://wiki.freebase.com/wiki/Freebase_Suggest&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Freebase_client</id>
		<title>Freebase client</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Freebase_client"/>
				<updated>2012-07-10T12:58:53Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''DEPRECATED/INVALID'''&lt;br /&gt;
&lt;br /&gt;
The term '''Freebase client''' refers to the website at http://freebase.com/  Obviously it is not the only Freebase client out there, but it was the first major one, and so tends to be referred to as &amp;quot;the client&amp;quot; by Freebase staff.&lt;br /&gt;
&lt;br /&gt;
* [https://bugs.freebase.com/browse/CLI Jira (bug tracking) queue]&lt;br /&gt;
&lt;br /&gt;
== Parts of the Freebase client ==&lt;br /&gt;
&lt;br /&gt;
* [[Freebase homepage]]&lt;br /&gt;
* [[Topic page]]&lt;br /&gt;
* [[Views]]&lt;br /&gt;
* [[Bases]]&lt;br /&gt;
* [[History]]&lt;br /&gt;
* [[Schema editor]]&lt;br /&gt;
* [[Review queue]]&lt;br /&gt;
* [[Discussions]]&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The original client was written by [[Python]] and is closed source. However, it is the officially stated to plan to move the entire client into [[Acre]], with the consequence that it will be open source. As of September 2010, some parts of the client (for example, the front page and the query editor) are in Acre, but the main topic view/edit page is still in Python.&lt;br /&gt;
&lt;br /&gt;
== Browser support ==&lt;br /&gt;
&lt;br /&gt;
Firefox, Safari and IE (versions?) are officially supported for the website.  [[Opera]] is not supported, but much of the site will work OK in it. &lt;br /&gt;
&lt;br /&gt;
==New Release==&lt;br /&gt;
&lt;br /&gt;
The new release of the Freebase client is almost ready to launch. &lt;br /&gt;
&lt;br /&gt;
[[Freebase client changes|See what has changed in the new Freebase client]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Client tricks]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Freebase client]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Editing_topics</id>
		<title>Editing topics</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Editing_topics"/>
				<updated>2012-07-10T12:56:38Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''DEPRECATED/INVALID'''&lt;br /&gt;
&lt;br /&gt;
Anyone can '''edit any topic''' in Freebase.  &lt;br /&gt;
&lt;br /&gt;
== Getting to the edit interface ==&lt;br /&gt;
&lt;br /&gt;
* Go to the Freebase page for that topic (using the [[Search]] on the [[Freebase client|website]] or any other means)&lt;br /&gt;
[[File:Freebase_search_for_topic.png|500px|alt Searching using autocomplete]]&lt;br /&gt;
* Switch to [[Edit mode]] by clicking on the &amp;quot;Edit&amp;quot; button&lt;br /&gt;
[[File:Freebase_edit_this_topic.png|300px|alt Edit this topic button]]&lt;br /&gt;
* Edit away!&lt;br /&gt;
&lt;br /&gt;
== Editing properties ==&lt;br /&gt;
&lt;br /&gt;
Properties have a button next to them saying &amp;quot;Edit&amp;quot;.  Click on it to edit/add/delete data.&lt;br /&gt;
&lt;br /&gt;
[[File:Freebase_edit_property.png|800px|alt Edit a property]]&lt;br /&gt;
&lt;br /&gt;
=== Connecting to other topics ===&lt;br /&gt;
&lt;br /&gt;
When editing any property that [[Expected type|expects]] another Freebase [[Topic]] to be filled in, you will see [[Freebase suggest|suggestions]] as you type.  If the relevant topic appears on the dropdown list, please choose it rather than creating a new topic!&lt;br /&gt;
&lt;br /&gt;
[[File:Freebase_property_autosuggest.png|600px|alt Connect to an existing property]]&lt;br /&gt;
&lt;br /&gt;
=== Special fields ===&lt;br /&gt;
&lt;br /&gt;
* [[Date]]s&lt;br /&gt;
* [[Measurement]]s&lt;br /&gt;
* [[Weblink]]s&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
You may upload/edit images on any topic page.  See [[Image]]s for more detail.&lt;br /&gt;
&lt;br /&gt;
== Descriptions ==&lt;br /&gt;
&lt;br /&gt;
Descriptions of topics should be short, plain-text blurbs addressed to a general audience and suitable for embedding in [[Applications]] outside of Freebase.  &lt;br /&gt;
&lt;br /&gt;
The descriptions for topics are user-editable.  Simply click edit and modify it as required.&lt;br /&gt;
&lt;br /&gt;
Many [[Topic]]s have descriptions sourced from [[Wikipedia]].  You can replace this if you want, with an entirely new description, but you can't actually edit it because there is a [[Licenses|license]] incompatibility.&lt;br /&gt;
&lt;br /&gt;
== Adding a new [[type]] to a topic ==&lt;br /&gt;
&lt;br /&gt;
# Click Add a Type just below the topic description.&lt;br /&gt;
# Start typing in the name of the type you want to add. Autocomplete will suggest matches, select the type you want to add from the list.&lt;br /&gt;
# Enter information in the fields for the type you've added by clicking edit next to the empty fields.&lt;br /&gt;
&lt;br /&gt;
== Editing CVT topics ==&lt;br /&gt;
&lt;br /&gt;
These values can be edited directly, but it's a bit tricky: from the edit view of a topic, click the &amp;quot;explore mode&amp;quot; link at the bottom of the page. In the explore view, look for the appropriate &amp;quot;address&amp;quot; property in the &amp;quot;outgoing properties&amp;quot; section. Click the guid that appears next to it. That will take you to the explore view of the address CVT object. To view the address in edit mode, you can either press F8 (which will display a new toolbar at the bottom of the screen, on which you can click &amp;quot;normal view&amp;quot;), or edit the URL and replace /tools/explore/ with /edit/topic.&lt;br /&gt;
&lt;br /&gt;
== Adding a new topic to Freebase ==&lt;br /&gt;
&lt;br /&gt;
See [[Creating a new topic]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Common editing mistakes]]&lt;br /&gt;
&lt;br /&gt;
[[category:Data-modeling]]&lt;br /&gt;
[[Category:Topics]]&lt;br /&gt;
[[Category:User Guide]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Editing_topics</id>
		<title>Editing topics</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Editing_topics"/>
				<updated>2012-07-10T12:56:14Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*DEPRECATED/INVALID*&lt;br /&gt;
&lt;br /&gt;
Anyone can '''edit any topic''' in Freebase.  &lt;br /&gt;
&lt;br /&gt;
== Getting to the edit interface ==&lt;br /&gt;
&lt;br /&gt;
* Go to the Freebase page for that topic (using the [[Search]] on the [[Freebase client|website]] or any other means)&lt;br /&gt;
[[File:Freebase_search_for_topic.png|500px|alt Searching using autocomplete]]&lt;br /&gt;
* Switch to [[Edit mode]] by clicking on the &amp;quot;Edit&amp;quot; button&lt;br /&gt;
[[File:Freebase_edit_this_topic.png|300px|alt Edit this topic button]]&lt;br /&gt;
* Edit away!&lt;br /&gt;
&lt;br /&gt;
== Editing properties ==&lt;br /&gt;
&lt;br /&gt;
Properties have a button next to them saying &amp;quot;Edit&amp;quot;.  Click on it to edit/add/delete data.&lt;br /&gt;
&lt;br /&gt;
[[File:Freebase_edit_property.png|800px|alt Edit a property]]&lt;br /&gt;
&lt;br /&gt;
=== Connecting to other topics ===&lt;br /&gt;
&lt;br /&gt;
When editing any property that [[Expected type|expects]] another Freebase [[Topic]] to be filled in, you will see [[Freebase suggest|suggestions]] as you type.  If the relevant topic appears on the dropdown list, please choose it rather than creating a new topic!&lt;br /&gt;
&lt;br /&gt;
[[File:Freebase_property_autosuggest.png|600px|alt Connect to an existing property]]&lt;br /&gt;
&lt;br /&gt;
=== Special fields ===&lt;br /&gt;
&lt;br /&gt;
* [[Date]]s&lt;br /&gt;
* [[Measurement]]s&lt;br /&gt;
* [[Weblink]]s&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
You may upload/edit images on any topic page.  See [[Image]]s for more detail.&lt;br /&gt;
&lt;br /&gt;
== Descriptions ==&lt;br /&gt;
&lt;br /&gt;
Descriptions of topics should be short, plain-text blurbs addressed to a general audience and suitable for embedding in [[Applications]] outside of Freebase.  &lt;br /&gt;
&lt;br /&gt;
The descriptions for topics are user-editable.  Simply click edit and modify it as required.&lt;br /&gt;
&lt;br /&gt;
Many [[Topic]]s have descriptions sourced from [[Wikipedia]].  You can replace this if you want, with an entirely new description, but you can't actually edit it because there is a [[Licenses|license]] incompatibility.&lt;br /&gt;
&lt;br /&gt;
== Adding a new [[type]] to a topic ==&lt;br /&gt;
&lt;br /&gt;
# Click Add a Type just below the topic description.&lt;br /&gt;
# Start typing in the name of the type you want to add. Autocomplete will suggest matches, select the type you want to add from the list.&lt;br /&gt;
# Enter information in the fields for the type you've added by clicking edit next to the empty fields.&lt;br /&gt;
&lt;br /&gt;
== Editing CVT topics ==&lt;br /&gt;
&lt;br /&gt;
These values can be edited directly, but it's a bit tricky: from the edit view of a topic, click the &amp;quot;explore mode&amp;quot; link at the bottom of the page. In the explore view, look for the appropriate &amp;quot;address&amp;quot; property in the &amp;quot;outgoing properties&amp;quot; section. Click the guid that appears next to it. That will take you to the explore view of the address CVT object. To view the address in edit mode, you can either press F8 (which will display a new toolbar at the bottom of the screen, on which you can click &amp;quot;normal view&amp;quot;), or edit the URL and replace /tools/explore/ with /edit/topic.&lt;br /&gt;
&lt;br /&gt;
== Adding a new topic to Freebase ==&lt;br /&gt;
&lt;br /&gt;
See [[Creating a new topic]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Common editing mistakes]]&lt;br /&gt;
&lt;br /&gt;
[[category:Data-modeling]]&lt;br /&gt;
[[Category:Topics]]&lt;br /&gt;
[[Category:User Guide]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Freebase_client_changes</id>
		<title>Freebase client changes</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Freebase_client_changes"/>
				<updated>2012-07-10T12:54:26Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: /* What's Left to Do */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What's New ==&lt;br /&gt;
The goal of the redesign was to make freebase.com a better database editor for people who understand how Freebase works, rather than a data browsing site for people who might or might not understand Freebase.  As a result, we've primarily focused on removing some of the more obtuse &amp;quot;magic&amp;quot; of the old site, exposing a lot more of the internals of the graph, and creating more powerful tools for inspecting and editing the graph.  &lt;br /&gt;
&lt;br /&gt;
* [http://dev.sandbox-freebase.com sandbox preview site]&lt;br /&gt;
* [http://dev.freebase.com production preview site]&lt;br /&gt;
&lt;br /&gt;
The biggest changes include:&lt;br /&gt;
* '''Internationalization'''&lt;br /&gt;
** Selector in masthead for which language to prefer when displaying data&lt;br /&gt;
** If the specified language is not available, fallback to another language (and language code is displayed next to value)&lt;br /&gt;
** New UI for adding/editing all the localized names of an object&lt;br /&gt;
* '''Editing improvements'''&lt;br /&gt;
** Keyboard controls: 'e' edit value (add value if property is selected), 'j' next item, 'k' previous item, 'p' next property, 'P' previous property, 't' next type, 'T' previous type, 'd' next domain, 'D' previous domain&lt;br /&gt;
** Incompatible type checking - checked when adding a type to an object or adding a value to a property (vs. expected type)&lt;br /&gt;
** Collection editing - Saved views can now be edited.  There's not enough room to edit inline in the table, but editing row will pop up a &amp;quot;mini topic page&amp;quot; with just the properties represented in the view, with the ability to move back-and-forth to adjacent rows.&lt;br /&gt;
** Permissions-awareness (coming) - disabling edit controls earlier rather than waiting to fail at the MQLwrite level&lt;br /&gt;
* '''Suggest improvements'''&lt;br /&gt;
** '/' from anywhere to activate&lt;br /&gt;
** All object links now show a Suggest flyout on hover&lt;br /&gt;
** Advanced filter options for the Search API by using ':' (arg:value)&lt;br /&gt;
** Spell-checking&lt;br /&gt;
* '''Filter panel''' - Collapsible panel on the left-side of the Properties and Links tabs&lt;br /&gt;
** Histogram of data distribution&lt;br /&gt;
** Drill down to just a domain, type or property (either via filter panel or data headers)&lt;br /&gt;
** Additional filters like time range and historical data available in Links tab&lt;br /&gt;
** All filters are reflected in the URL, so you can share or bookmark&lt;br /&gt;
* More transparency for '''data loads and provenance'''&lt;br /&gt;
** Upper-right hand timestamp on an object page shows whatever provenance we know (data load, information source, etc.)&lt;br /&gt;
** Dedicated pages for data loads or attribution nodes&lt;br /&gt;
** New ''Writes'' tab shows links written by that object&lt;br /&gt;
&lt;br /&gt;
== What's Been Deprecated ==&lt;br /&gt;
This change in emphasis has led to some significant features being deprecated:&lt;br /&gt;
* No &amp;quot;consumer&amp;quot; topic page with content &amp;amp; discovery features like image carousels, twitter feeds, related topics, etc.&lt;br /&gt;
* No theming or custom hostnames for bases -- they are just normal domains now.&lt;br /&gt;
* No gallery, timeline, or map views of collections&lt;br /&gt;
* No current plans to migrate list importer, but will continue to invest in Refine.&lt;br /&gt;
&lt;br /&gt;
== What's Left to Do ==&lt;br /&gt;
These are the major features remaining to be done:&lt;br /&gt;
* '''Discuss''' - We will be switching to a widgetized version of the Google Docs comment system. ETA August 2012&lt;br /&gt;
* '''Review Queue''' - Being re-implemented in the new site as we speak, will add filtering and a dashboard.  Almost done, but depends on new FreeQ API being launched. ETA August 2012&lt;br /&gt;
* '''Image Editing''' - Work will begin soon.&lt;br /&gt;
* '''Revert''' -  We plan to change this up from being topic-oriented to being scope-oriented (user or attribution).  E.g., you go to a user or data load's Writes tab, select a time range, and then revert.  Also depends on new FreeQ API being launched.&lt;br /&gt;
&lt;br /&gt;
As well as [http://bugs.freebase.com/secure/IssueNavigator.jspa?mode=hide&amp;amp;requestId=10647 many bugs and smaller features].&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
=== Global Nav ===&lt;br /&gt;
Global nab is to help you find stuff:&lt;br /&gt;
&lt;br /&gt;
* '''Find''' - Use Suggest to find a specific object.  The keyboard command &amp;quot;/&amp;quot; will always scroll to and activate Suggest no matter where on any page you are.  You can also use search arguments directly by using &amp;quot;:&amp;quot;.  For example, [excalibur type:/film/film].  Read more here http://wiki.freebase.com/wiki/ApiSearch.&lt;br /&gt;
* '''Browse''' - Quickly get to a domain or look at the most recent activity by object type.&lt;br /&gt;
* '''Query''' - Goes to the Query Editor.  Used to find more specific objects based on structured queries or start a &amp;quot;collection editing&amp;quot; workflow.&lt;br /&gt;
* '''Help''' - Goes to the wiki.&lt;br /&gt;
* '''Signin/You''' - Login is now entirely Google-based.  Once logged in, your user picture is also a menu for quick access to the objects you administer (domains, queries &amp;amp; apps).&lt;br /&gt;
In addition, there's now a language selector(!).  No UI strings are localized (yet), so this only affects the default language used for the names of objects, as well as how values will be formatted.  When localized names are not available for an object, another language will be chosen, but annotated with a language code.&lt;br /&gt;
&lt;br /&gt;
=== Browse Pages ===&lt;br /&gt;
* '''Data''' - Overview of the data in Freebase, grouped by domain&lt;br /&gt;
* '''Schema''' - Recent schema changes&lt;br /&gt;
* '''Queries''' - Recently saved queries&lt;br /&gt;
* '''Apps''' - Recently released apps&lt;br /&gt;
* '''Loads''' - Recently active data loads&lt;br /&gt;
* '''Review Tasks''' - LInk to old review queue (will eventually be a review queue dashboard)&lt;br /&gt;
* '''Users''' - Recently active users; Recently created user accounts&lt;br /&gt;
&lt;br /&gt;
=== Object Pages ===&lt;br /&gt;
Every object in the graph now has a simple URL based on its ID -- e.g., http://dev.sandbox-freebase.com/m/02p65p.  This URL uses the mid for topics and fully-qualified IDs for everything else... but any valid ID for an object will resolve to the canonical form.&lt;br /&gt;
&lt;br /&gt;
==== Masthead ====&lt;br /&gt;
There's a consistent dark gray masthead on all object pages with common elements:&lt;br /&gt;
* ''Object type'' - this is a higher-level abstraction than /type/object/type, but there is a prominent color bar to help you differentiate topics from users from domains, etc.&lt;br /&gt;
* ''Name'' - with i18n name edit menu&lt;br /&gt;
* ''Image''&lt;br /&gt;
* ''id/mid''&lt;br /&gt;
* Other disambiguating properties - like notable types for topics or &lt;br /&gt;
* Provenance - in the upper-right hand corner the creator, dataload etc. responsible for the creation of the object (as well as the creation time)&lt;br /&gt;
&lt;br /&gt;
==== Tab bar ====&lt;br /&gt;
Each object type has pre-defined views that can be reached by clicking a tab.  For example, there's a &amp;quot;Schema&amp;quot; tab for all schema objects or a  &amp;quot;Writes&amp;quot; tab for data loads.  When a tab has been deemed as not often relevant for a particular object type, it might be located under the ''More'' menu at the end of the tab row.&lt;br /&gt;
&lt;br /&gt;
In addition, at the very end of the tab bar is a &amp;quot;gear&amp;quot; menu that provides access to any additional administrative options for that object type.&lt;br /&gt;
&lt;br /&gt;
==== Tab area ====&lt;br /&gt;
The available tabs depend on the object type, but here's an overview of all the tabs and what functionality they provide:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! Object Types&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
! Properties&lt;br /&gt;
| all&lt;br /&gt;
| Shows all the values of the object, organized hierarchically by domain, type and property with full edit functionality.  Supports the filter panel.&lt;br /&gt;
|-&lt;br /&gt;
! Keys&lt;br /&gt;
| all&lt;br /&gt;
| Shows all the keys the object participates in - either outbound as an object or inbound as a namespace - sorted reverse chronologically.  Editable given permission.  Supports the filter panel.&lt;br /&gt;
|-&lt;br /&gt;
! Links&lt;br /&gt;
| all&lt;br /&gt;
| Shows all the links the object participates in sorted reverse chronologically.  Supports the filter panel.&lt;br /&gt;
|-&lt;br /&gt;
! Writes&lt;br /&gt;
| apps, users, datasets, loads, attributions&lt;br /&gt;
| A Links-like view of assertions made by the object.  Supports the filter panel.&lt;br /&gt;
|-&lt;br /&gt;
! Editors&lt;br /&gt;
| apps, domains, usergroups&lt;br /&gt;
| For permissioned objects, lists the users with permission to modify.  For permissioned users, includes the ability to add/remove users.&lt;br /&gt;
|-&lt;br /&gt;
! Schema&lt;br /&gt;
| users, domains, types, properties&lt;br /&gt;
| Schema browsing - users lists edited domains, domains lists contained types, types list their properties, and property is a diagram&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| domains, queries&lt;br /&gt;
| Domains: summary of the data in a domain; Queries: an editable collection view.&lt;br /&gt;
|-&lt;br /&gt;
! Instances&lt;br /&gt;
| types, properties&lt;br /&gt;
| Types: editable collection view; Properties: links&lt;br /&gt;
|-&lt;br /&gt;
! Content&lt;br /&gt;
| images, documents&lt;br /&gt;
| Shows the actual content&lt;br /&gt;
|-&lt;br /&gt;
! Queries&lt;br /&gt;
| domains, users&lt;br /&gt;
| Lists the saved queries belonging to the domain or user.&lt;br /&gt;
|-&lt;br /&gt;
! Apps&lt;br /&gt;
| users&lt;br /&gt;
| Shows a user's apps.&lt;br /&gt;
|-&lt;br /&gt;
! MQL&lt;br /&gt;
| queries&lt;br /&gt;
| Inline query editor for editing the MQL of a saved query&lt;br /&gt;
|-&lt;br /&gt;
! Versions&lt;br /&gt;
| apps&lt;br /&gt;
| Lists the versions (with links) of an Acre app&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
&lt;br /&gt;
If you're curious about the technical aspects of the site, it's built entirely in [http://code.google.com/p/acre Acre] and is running on Google's AppEngine hosting platform.  All of the Acre scripts are open sourced at [http://code.google.com/p/freebase-site].  You can also use the “View Source” link in the footer of most pages to view in appeditor.&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Topic_API</id>
		<title>Topic API</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Topic_API"/>
				<updated>2012-07-10T10:49:57Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Freebase '''Topic API''' is a web service that will return all the known facts for a given topic including images and text blurbs. You can apply filters to the Topic API so that it only returns the property values that you're interested. This is ideal for building topic pages and short summaries of an entity. The Topic API is used by [[Freebase Suggest]] to generate the flyout topic previews.&lt;br /&gt;
&lt;br /&gt;
[[Image:Topic-Service.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/topic/m/0d6lp&lt;br /&gt;
&lt;br /&gt;
=Request=&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
  GET /freebase/{{G:FB_API_VERSION}}/topic'''&amp;amp;lt;id&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
==Headers==&lt;br /&gt;
&lt;br /&gt;
No special headers for this api.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;parameter_table&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr class=&amp;quot;header&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Param&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Required&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Datatype&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Multiple&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Default&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;th&amp;gt;Description&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td class=&amp;quot;param&amp;quot;&amp;gt;lang&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;string&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;/lang/en&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;The default language to use for text values.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td class=&amp;quot;param&amp;quot;&amp;gt;filter&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;string&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;yes&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Specific types or properties which you want to return values for.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td class=&amp;quot;param&amp;quot;&amp;gt;limit&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;integer&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;10&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;The maximum number of property values to return.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Filter===&lt;br /&gt;
&lt;br /&gt;
1. A predicate  (anything starting with a /)&lt;br /&gt;
Any predicate that starts with the filter text will be in the results (e.g. filter=/people or filter=/common/topic/notable_)&lt;br /&gt;
&lt;br /&gt;
2. &amp;lt;code&amp;gt;commons&amp;lt;/code&amp;gt; (default)&lt;br /&gt;
All commons predicates (no bases, no user, no !reverse) + /type and /common domains.&lt;br /&gt;
&lt;br /&gt;
3. &amp;lt;code&amp;gt;all&amp;lt;/code&amp;gt;&lt;br /&gt;
commons + bases + user&lt;br /&gt;
&lt;br /&gt;
4. &amp;lt;code&amp;gt;allproperties&amp;lt;/code&amp;gt;&lt;br /&gt;
all + !reverse + bad predicates &lt;br /&gt;
&lt;br /&gt;
5. &amp;lt;code&amp;gt;suggest&amp;lt;/code&amp;gt; - these predicates:&lt;br /&gt;
* /common/topic/notable_types&lt;br /&gt;
* /common/topic/notable_for&lt;br /&gt;
* /common/topic/notable_properties&lt;br /&gt;
* /common/topic/article&lt;br /&gt;
* /common/topic/image&lt;br /&gt;
* /type/object/name&lt;br /&gt;
* /type/object/type&amp;quot;&lt;br /&gt;
&lt;br /&gt;
filter=suggest will also output any property that it's the notable_properties list, so you can re-create a Knowledge Panel / Topic Blocks style entity widget without knowing the important properties beforehand.&lt;br /&gt;
&lt;br /&gt;
===Lang===&lt;br /&gt;
&lt;br /&gt;
You specify one lang, e,g lang=fr (default=en), and we pick the correct /type/text values for you. We will currently fallback to english if we don't have data in your lang. In the case of /type/object/name we will always return a value, even if it's not in your lang or english. &lt;br /&gt;
&lt;br /&gt;
In the future, value properties (e.g. datetime) will have the i18n formatted version for that lang - they currently have the english representation. &lt;br /&gt;
&lt;br /&gt;
===Limit===&lt;br /&gt;
&lt;br /&gt;
limit is a positive integer. default=10&lt;br /&gt;
&lt;br /&gt;
=Response=&lt;br /&gt;
&lt;br /&gt;
'''Content-type:''' application/json&lt;br /&gt;
&lt;br /&gt;
==Format==&lt;br /&gt;
&lt;br /&gt;
The response is a json structure. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;pre class=&amp;quot;mqlcode&amp;quot;&amp;gt;{&lt;br /&gt;
 &amp;quot;id&amp;quot;: &amp;quot;/m/0d6lp&amp;quot;,&lt;br /&gt;
 &amp;quot;property&amp;quot;: {&lt;br /&gt;
  &amp;quot;/common/topic/alias&amp;quot;: {&lt;br /&gt;
   &amp;quot;valuetype&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
   &amp;quot;values&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
     &amp;quot;text&amp;quot;: &amp;quot;San Fran, Frisco, The City, City by the Bay&amp;quot;,&lt;br /&gt;
     &amp;quot;lang&amp;quot;: &amp;quot;en&amp;quot;,&lt;br /&gt;
     &amp;quot;value&amp;quot;: &amp;quot;San Fran, Frisco, The City, City by the Bay&amp;quot;,&lt;br /&gt;
     &amp;quot;creator&amp;quot;: &amp;quot;/user/merge_bot&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    ...&lt;br /&gt;
   ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;/common/topic/image&amp;quot;: {&lt;br /&gt;
   &amp;quot;valuetype&amp;quot;: &amp;quot;object&amp;quot;,&lt;br /&gt;
   &amp;quot;values&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
     &amp;quot;text&amp;quot;: &amp;quot;San Francisco Skyline&amp;quot;,&lt;br /&gt;
     &amp;quot;lang&amp;quot;: &amp;quot;en&amp;quot;,&lt;br /&gt;
     &amp;quot;id&amp;quot;: &amp;quot;/m/04j74yh&amp;quot;,&lt;br /&gt;
     &amp;quot;creator&amp;quot;: &amp;quot;/user/carmenmfenn1&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    ...&lt;br /&gt;
   ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;/type/object/name&amp;quot;: {&lt;br /&gt;
   &amp;quot;valuetype&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
   &amp;quot;values&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
     &amp;quot;text&amp;quot;: &amp;quot;San Francisco&amp;quot;,&lt;br /&gt;
     &amp;quot;lang&amp;quot;: &amp;quot;en&amp;quot;,&lt;br /&gt;
     &amp;quot;value&amp;quot;: &amp;quot;San Francisco&amp;quot;,&lt;br /&gt;
     &amp;quot;creator&amp;quot;: &amp;quot;/user/gardening_bot&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
   ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;/type/object/type&amp;quot;: {&lt;br /&gt;
   &amp;quot;valuetype&amp;quot;: &amp;quot;object&amp;quot;,&lt;br /&gt;
   &amp;quot;values&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
     &amp;quot;text&amp;quot;: &amp;quot;City/Town/Village&amp;quot;,&lt;br /&gt;
     &amp;quot;lang&amp;quot;: &amp;quot;en&amp;quot;,&lt;br /&gt;
     &amp;quot;id&amp;quot;: &amp;quot;/location/citytown&amp;quot;,&lt;br /&gt;
     &amp;quot;creator&amp;quot;: &amp;quot;/user/jperfetto&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    ...&lt;br /&gt;
   ]&lt;br /&gt;
  },&lt;br /&gt;
  ...&lt;br /&gt;
 }&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using the Google Client Library =&lt;br /&gt;
&lt;br /&gt;
You can use the following Python code to do a MQL read using the [[Google_API_Client_Libraries|Google Client Library]].&lt;br /&gt;
&lt;br /&gt;
== Python Topic API Examples ==&lt;br /&gt;
&lt;br /&gt;
You 'll need to install the google apis python library. Follow the link above, or run this for fast installation:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
easy_install --upgrade google-api-python-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fetch a topic summary ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;prettyprint&amp;quot;&amp;gt;&lt;br /&gt;
import json&lt;br /&gt;
import urllib&lt;br /&gt;
&lt;br /&gt;
API_KEY = 'YOUR-API-KEY-GOES-HERE'&lt;br /&gt;
service_url = 'https://www.googleapis.com/freebase/v1/topic'&lt;br /&gt;
topic_id = '/m/0d6lp'&lt;br /&gt;
params = {&lt;br /&gt;
  'key': API_KEY,&lt;br /&gt;
  'filter': 'suggest'&lt;br /&gt;
}&lt;br /&gt;
url = service_url + topic_id + '?' + urllib.urlencode(params)&lt;br /&gt;
topic = json.loads(urllib.urlopen(url).read())&lt;br /&gt;
&lt;br /&gt;
for property in topic['property']:&lt;br /&gt;
  print property + ':'&lt;br /&gt;
  for value in topic['property'][property]['values']:&lt;br /&gt;
    print ' - ' + value['text']&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Services]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Freebase_API</id>
		<title>Freebase API</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Freebase_API"/>
				<updated>2012-03-30T22:47:09Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: /* API Keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Freebase API is a collection of HTTP APIs that provide you with read and write access to the data stored in Freebase. The different APIs support different use cases and allow you to get access the same Freebase data in many different ways. &lt;br /&gt;
&lt;br /&gt;
[[Image:Graph-API-Services.png‎]]&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#DD4B39&amp;quot;&amp;gt;'''search'''&amp;lt;/span&amp;gt; API returns freebase data given a free text user query. The search service indexes freebase data for any given entity, as well as other sources such as Wikipedia content.  &lt;br /&gt;
&lt;br /&gt;
The mql services (&amp;lt;span style=&amp;quot;color:#4D90F0&amp;quot;&amp;gt;'''mqlread'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#4D90F0&amp;quot;&amp;gt;'''mqlwrite'''&amp;lt;/span&amp;gt;) allow you to perform structured queries on Freebase using the [[http://mql.freebaseapps.com Metaweb Query Language]]. This is the most common way to access the graph data stored in freebase and ask questions such as ''directors of french comedies'' or ''mountains in california''. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#50C25B&amp;quot;&amp;gt;'''text'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#50C25B&amp;quot;&amp;gt;'''image'''&amp;lt;/span&amp;gt; services provide with data that is relevant to the entities that are stored in Freebase but with different access semantics. '''text''' just takes an id of a topic and returns you its description, while image will take an id and return you an image. You can use the image API directly on a web page as the ''src'' attribute of a ''img'' tag. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
== API Keys ==&lt;br /&gt;
&lt;br /&gt;
You need to obtain [https://code.google.com/apis/console obtain an API key] to use the APIs. There is some key-less quota to help with debugging. &lt;br /&gt;
&lt;br /&gt;
Documentation on API keys: http://code.google.com/apis/console-help/#WhatIsKey&lt;br /&gt;
&lt;br /&gt;
== Limits (Quota) ==&lt;br /&gt;
&lt;br /&gt;
The [[Freebase API Terms of Service]] limit give users a read quota of 100k API calls per day (rolling 24 hour clock) and a [[write quota]] of 10k writes per day. Higher quota limits may be granted upon request to Metaweb.&lt;br /&gt;
&lt;br /&gt;
If you have a non-default quota on your account you will need to use an API key to take advantage of that quota.&lt;br /&gt;
&lt;br /&gt;
Default quotas on the sandbox are 1,000,000 writes a day, but if you have a non-default write quota on the production server, that same quota will be enforced on the sandbox too.&lt;br /&gt;
&lt;br /&gt;
== Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new Freebase API is designed to work with the standard [[Google API Client Libraries]]. There are also [[Libraries|libraries]] for the legacy APIs available in many common programming languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=API Services=&lt;br /&gt;
&lt;br /&gt;
== Read Services ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
'''Note:''' Our read APIs have moved into Google Code. We recommend that all developers switch over to these new APIs to make sure that they benefit from all the latest features and bug fixes. See the [[API Changes]] page for details.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The read services are designed to allow you query Freebase for keywords, structured data, text and images. These services don't require authentication.&lt;br /&gt;
&lt;br /&gt;
* [[ApiSearch|Search Service]] -- Find entities by keyword search.&lt;br /&gt;
* [[MQL Read Service]] -- Retrieve detailed structured data about entities or collections of entities.&lt;br /&gt;
* [[ApiText|Text Service]] -- Get short textual descriptions for entities.&lt;br /&gt;
* [[ApiImage|Image Service]] -- Get representative thumbnail images for entities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For legacy applications we are still supporting our old Read APIs but will eventually deprecate these services in favor of the Google Code ones.&lt;br /&gt;
&lt;br /&gt;
* [http://www.freebase.com/docs/web_services/search Old Search Service]&lt;br /&gt;
* [http://www.freebase.com/docs/mqlread Old MQL Read Service]&lt;br /&gt;
* [http://www.freebase.com/docs/web_services/trans_blurb Old Text Service]&lt;br /&gt;
* [http://www.freebase.com/docs/web_services/image_thumb Old Image Service]&lt;br /&gt;
* [http://www.freebase.com/docs/topic_api|Old Topic API]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Services ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
'''Note:''' Our write APIs will be moving to Google Code in the near future at which point all authentication will be through [[OAuth]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The write services are designed to allow you to create, edit and delete data from Freebase. These services require authentication.&lt;br /&gt;
&lt;br /&gt;
* [http://www.freebase.com/docs/mqlwrite MQL Write Service]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Common Conventions =&lt;br /&gt;
&lt;br /&gt;
== Requests ==&lt;br /&gt;
&lt;br /&gt;
The URI pattern for an API call is:&lt;br /&gt;
&lt;br /&gt;
 GET &amp;lt;nowiki&amp;gt;https://www.googleapis.com/freebase/&amp;lt;/nowiki&amp;gt;'''&amp;amp;lt;version&amp;amp;gt;'''/'''&amp;amp;lt;apiname&amp;amp;gt;'''['''&amp;amp;lt;path&amp;amp;gt;''']?['''&amp;amp;lt;urlparams&amp;amp;gt;''']&lt;br /&gt;
&lt;br /&gt;
'''version''' is one of ''v1'' for production or ''v1-sandbox'' for sandbox. Read below for what this means. &lt;br /&gt;
&amp;lt;br/&amp;gt;'''apiname''' is the API name such as ''text'' or ''mqlread''&lt;br /&gt;
&amp;lt;br/&amp;gt;'''path''' and '''urlparams''' are different per-api&lt;br /&gt;
&lt;br /&gt;
All requests should be '''https''' requests.&lt;br /&gt;
&lt;br /&gt;
== Environments and Versions ==&lt;br /&gt;
&lt;br /&gt;
Freebase provides two distinct data environments (you can think of them as separate databases). &lt;br /&gt;
&lt;br /&gt;
Our '''production''' environment is meant to be used by applications in production. We aim this environment to be:&lt;br /&gt;
* stable in terms of the API code running against it&lt;br /&gt;
* of high quality data since only QAed / final data is ever entered there&lt;br /&gt;
&lt;br /&gt;
This is the environment that you should use in your production service.&lt;br /&gt;
&lt;br /&gt;
 GET [https://www.googleapis.com/freebase/v1/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22} https://www.googleapis.com/freebase/'''v1'''/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}]&lt;br /&gt;
&lt;br /&gt;
Our '''sandbox''' environment is meant for you to experiment with, mainly in terms of data:&lt;br /&gt;
&lt;br /&gt;
* develop your software against this environment&lt;br /&gt;
* experiment with new schema and loading data&lt;br /&gt;
&lt;br /&gt;
This environment gets refreshed from production every week, so you should feel free to experiment with data here, but have in mind that your data will be wiped out on a regular basis.&lt;br /&gt;
&lt;br /&gt;
 GET [https://www.googleapis.com/freebase/v1-sandbox/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22} https://www.googleapis.com/freebase/'''v1-sandbox'''/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' We have conflated the environment and version notion into one part of the URI path. So v1 of the sandbox environment has the version ''v1-sandbox'' while the production environment can be accessed with ''v1''.&lt;br /&gt;
&lt;br /&gt;
== Common Parameters ==&lt;br /&gt;
&lt;br /&gt;
===callback===&lt;br /&gt;
&lt;br /&gt;
The '''callback''' url param will return a json structure enclosed in a javascript function call as an argument to the function. This supports the '''JSONP''' pattern and is useful for embedding Freebase results directly in a web page while by-passing the cross-domain restriction. This parameter only applies to read JSON APIs. &lt;br /&gt;
&lt;br /&gt;
 GET [https://www.googleapis.com/freebase/v1-sandbox/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}&amp;amp;callback=myfuncname https://www.googleapis.com/freebase/v1-sandbox/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}&amp;amp;'''callback=myfuncname''']&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Freebase is full of user generated content.&amp;lt;/strong&amp;gt;&amp;lt;br/&amp;gt;Make sure you fully understand the security implications of using the Freebase APIs before you use them in your application.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since most of the content that is in Freebase is user generated, you cannot safely print it on a web page without first cleaning it up. ''Cleaning-up'' is a very vague term, so let's see what different mechanisms we use to achieve this:&lt;br /&gt;
&lt;br /&gt;
* '''sanitization''' refers to the process of stripping potentially harmful html tags out of an html string. It turns this: ''&amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;script&amp;amp;gt;alert(1)&amp;amp;lt;/script&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;'' into this ''&amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;''&lt;br /&gt;
* '''stripping''' refers to the process of removing all html tags. It turns this ''&amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;script&amp;amp;gt;alert(1)&amp;amp;lt;/script&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;'' into an empty string.&lt;br /&gt;
* '''unicode encoding''' refers to the process of changing certain characters like &amp;amp;lt;, &amp;amp;gt; and &amp;amp;amp; into their unicode equivalents: \u003c \u003e and \u0026. Any json parser will decode these for you transparently. &lt;br /&gt;
* '''html-escaping''' refers to the process of replacing certain html characters with html entities. So &amp;amp;lt; and &amp;amp;gt; will turn into &amp;amp;amp;lt; and &amp;amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default, all JSON APIs unicode-encode their output. Different APIs will use different mechanisms to provide safe content, read the '''Security Considerations''' sections of each API to find out how they work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Api Examples]]&lt;br /&gt;
* [[Experimental Web Services]]&lt;br /&gt;
* [[Undocumented web services]]&lt;br /&gt;
* [[Freebase Suggest]]&lt;br /&gt;
* [[Libraries]]&lt;br /&gt;
* [[Application]]s&lt;br /&gt;
* [[Read API Code Snippets]]&lt;br /&gt;
* [[Cache]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Freebase_API</id>
		<title>Freebase API</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Freebase_API"/>
				<updated>2012-03-30T17:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Freebase API is a collection of HTTP APIs that provide you with read and write access to the data stored in Freebase. The different APIs support different use cases and allow you to get access the same Freebase data in many different ways. &lt;br /&gt;
&lt;br /&gt;
[[Image:Graph-API-Services.png‎]]&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#DD4B39&amp;quot;&amp;gt;'''search'''&amp;lt;/span&amp;gt; API returns freebase data given a free text user query. The search service indexes freebase data for any given entity, as well as other sources such as Wikipedia content.  &lt;br /&gt;
&lt;br /&gt;
The mql services (&amp;lt;span style=&amp;quot;color:#4D90F0&amp;quot;&amp;gt;'''mqlread'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#4D90F0&amp;quot;&amp;gt;'''mqlwrite'''&amp;lt;/span&amp;gt;) allow you to perform structured queries on Freebase using the [[http://mql.freebaseapps.com Metaweb Query Language]]. This is the most common way to access the graph data stored in freebase and ask questions such as ''directors of french comedies'' or ''mountains in california''. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#50C25B&amp;quot;&amp;gt;'''text'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#50C25B&amp;quot;&amp;gt;'''image'''&amp;lt;/span&amp;gt; services provide with data that is relevant to the entities that are stored in Freebase but with different access semantics. '''text''' just takes an id of a topic and returns you its description, while image will take an id and return you an image. You can use the image API directly on a web page as the ''src'' attribute of a ''img'' tag. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
== API Keys ==&lt;br /&gt;
&lt;br /&gt;
It is recommended that you [http://code.google.com/apis/console-help/#WhatIsKey obtain an API key] to use the read APIs. The write APIs require an API key.&lt;br /&gt;
&lt;br /&gt;
== Limits (Quota) ==&lt;br /&gt;
&lt;br /&gt;
The [[Freebase API Terms of Service]] limit give users a read quota of 100k API calls per day (rolling 24 hour clock) and a [[write quota]] of 10k writes per day. Higher quota limits may be granted upon request to Metaweb.&lt;br /&gt;
&lt;br /&gt;
If you have a non-default quota on your account you will need to use an API key to take advantage of that quota.&lt;br /&gt;
&lt;br /&gt;
Default quotas on the sandbox are 1,000,000 writes a day, but if you have a non-default write quota on the production server, that same quota will be enforced on the sandbox too.&lt;br /&gt;
&lt;br /&gt;
== Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new Freebase API is designed to work with the standard [[Google API Client Libraries]]. There are also [[Libraries|libraries]] for the legacy APIs available in many common programming languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=API Services=&lt;br /&gt;
&lt;br /&gt;
== Read Services ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
'''Note:''' Our read APIs have moved into Google Code. We recommend that all developers switch over to these new APIs to make sure that they benefit from all the latest features and bug fixes. See the [[API Changes]] page for details.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The read services are designed to allow you query Freebase for keywords, structured data, text and images. These services don't require authentication.&lt;br /&gt;
&lt;br /&gt;
* [[ApiSearch|Search Service]] -- Find entities by keyword search.&lt;br /&gt;
* [[MQL Read Service]] -- Retrieve detailed structured data about entities or collections of entities.&lt;br /&gt;
* [[ApiText|Text Service]] -- Get short textual descriptions for entities.&lt;br /&gt;
* [[ApiImage|Image Service]] -- Get representative thumbnail images for entities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For legacy applications we are still supporting our old Read APIs but will eventually deprecate these services in favor of the Google Code ones.&lt;br /&gt;
&lt;br /&gt;
* [http://www.freebase.com/docs/web_services/search Old Search Service]&lt;br /&gt;
* [http://www.freebase.com/docs/mqlread Old MQL Read Service]&lt;br /&gt;
* [http://www.freebase.com/docs/web_services/trans_blurb Old Text Service]&lt;br /&gt;
* [http://www.freebase.com/docs/web_services/image_thumb Old Image Service]&lt;br /&gt;
* [http://www.freebase.com/docs/topic_api|Old Topic API]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Services ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
'''Note:''' Our write APIs will be moving to Google Code in the near future at which point all authentication will be through [[OAuth]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The write services are designed to allow you to create, edit and delete data from Freebase. These services require authentication.&lt;br /&gt;
&lt;br /&gt;
* [http://www.freebase.com/docs/mqlwrite MQL Write Service]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Common Conventions =&lt;br /&gt;
&lt;br /&gt;
== Requests ==&lt;br /&gt;
&lt;br /&gt;
The URI pattern for an API call is:&lt;br /&gt;
&lt;br /&gt;
 GET &amp;lt;nowiki&amp;gt;https://www.googleapis.com/freebase/&amp;lt;/nowiki&amp;gt;'''&amp;amp;lt;version&amp;amp;gt;'''/'''&amp;amp;lt;apiname&amp;amp;gt;'''['''&amp;amp;lt;path&amp;amp;gt;''']?['''&amp;amp;lt;urlparams&amp;amp;gt;''']&lt;br /&gt;
&lt;br /&gt;
'''version''' is one of ''v1'' for production or ''v1-sandbox'' for sandbox. Read below for what this means. &lt;br /&gt;
&amp;lt;br/&amp;gt;'''apiname''' is the API name such as ''text'' or ''mqlread''&lt;br /&gt;
&amp;lt;br/&amp;gt;'''path''' and '''urlparams''' are different per-api&lt;br /&gt;
&lt;br /&gt;
All requests should be '''https''' requests.&lt;br /&gt;
&lt;br /&gt;
== Environments and Versions ==&lt;br /&gt;
&lt;br /&gt;
Freebase provides two distinct data environments (you can think of them as separate databases). &lt;br /&gt;
&lt;br /&gt;
Our '''production''' environment is meant to be used by applications in production. We aim this environment to be:&lt;br /&gt;
* stable in terms of the API code running against it&lt;br /&gt;
* of high quality data since only QAed / final data is ever entered there&lt;br /&gt;
&lt;br /&gt;
This is the environment that you should use in your production service.&lt;br /&gt;
&lt;br /&gt;
 GET [https://www.googleapis.com/freebase/v1/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22} https://www.googleapis.com/freebase/'''v1'''/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}]&lt;br /&gt;
&lt;br /&gt;
Our '''sandbox''' environment is meant for you to experiment with, mainly in terms of data:&lt;br /&gt;
&lt;br /&gt;
* develop your software against this environment&lt;br /&gt;
* experiment with new schema and loading data&lt;br /&gt;
&lt;br /&gt;
This environment gets refreshed from production every week, so you should feel free to experiment with data here, but have in mind that your data will be wiped out on a regular basis.&lt;br /&gt;
&lt;br /&gt;
 GET [https://www.googleapis.com/freebase/v1-sandbox/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22} https://www.googleapis.com/freebase/'''v1-sandbox'''/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' We have conflated the environment and version notion into one part of the URI path. So v1 of the sandbox environment has the version ''v1-sandbox'' while the production environment can be accessed with ''v1''.&lt;br /&gt;
&lt;br /&gt;
== Common Parameters ==&lt;br /&gt;
&lt;br /&gt;
===callback===&lt;br /&gt;
&lt;br /&gt;
The '''callback''' url param will return a json structure enclosed in a javascript function call as an argument to the function. This supports the '''JSONP''' pattern and is useful for embedding Freebase results directly in a web page while by-passing the cross-domain restriction. This parameter only applies to read JSON APIs. &lt;br /&gt;
&lt;br /&gt;
 GET [https://www.googleapis.com/freebase/v1-sandbox/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}&amp;amp;callback=myfuncname https://www.googleapis.com/freebase/v1-sandbox/mqlread?query={%22name%22:null,%22id%22:%22/en/bob_dylan%22}&amp;amp;'''callback=myfuncname''']&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Freebase is full of user generated content.&amp;lt;/strong&amp;gt;&amp;lt;br/&amp;gt;Make sure you fully understand the security implications of using the Freebase APIs before you use them in your application.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since most of the content that is in Freebase is user generated, you cannot safely print it on a web page without first cleaning it up. ''Cleaning-up'' is a very vague term, so let's see what different mechanisms we use to achieve this:&lt;br /&gt;
&lt;br /&gt;
* '''sanitization''' refers to the process of stripping potentially harmful html tags out of an html string. It turns this: ''&amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;script&amp;amp;gt;alert(1)&amp;amp;lt;/script&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;'' into this ''&amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;''&lt;br /&gt;
* '''stripping''' refers to the process of removing all html tags. It turns this ''&amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;script&amp;amp;gt;alert(1)&amp;amp;lt;/script&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;'' into an empty string.&lt;br /&gt;
* '''unicode encoding''' refers to the process of changing certain characters like &amp;amp;lt;, &amp;amp;gt; and &amp;amp;amp; into their unicode equivalents: \u003c \u003e and \u0026. Any json parser will decode these for you transparently. &lt;br /&gt;
* '''html-escaping''' refers to the process of replacing certain html characters with html entities. So &amp;amp;lt; and &amp;amp;gt; will turn into &amp;amp;amp;lt; and &amp;amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default, all JSON APIs unicode-encode their output. Different APIs will use different mechanisms to provide safe content, read the '''Security Considerations''' sections of each API to find out how they work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Api Examples]]&lt;br /&gt;
* [[Experimental Web Services]]&lt;br /&gt;
* [[Undocumented web services]]&lt;br /&gt;
* [[Freebase Suggest]]&lt;br /&gt;
* [[Libraries]]&lt;br /&gt;
* [[Application]]s&lt;br /&gt;
* [[Read API Code Snippets]]&lt;br /&gt;
* [[Cache]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	<entry>
		<id>http://wiki.freebase.com/wiki/Text_Service</id>
		<title>Text Service</title>
		<link rel="alternate" type="text/html" href="http://wiki.freebase.com/wiki/Text_Service"/>
				<updated>2012-03-14T00:25:15Z</updated>
		
		<summary type="html">&lt;p&gt;Masouras50: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&lt;br /&gt;
This API service is part of the new [[Freebase_API|Freebase API]]. To see the legacy text blurb service [http://www.freebase.com/docs/web_services/trans_blurb go here].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The text API provides you with access to Freebase topic and schema descriptions. &lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/en/bob_dylan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Request=&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
 GET /freebase/{{G:FB_API_VERSION}}/text'''&amp;lt;id&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
==Headers==&lt;br /&gt;
&lt;br /&gt;
No special headers for this api.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;parameter_table&amp;quot;&amp;gt;	  &amp;lt;tr  class=&amp;quot;header&amp;quot;&amp;gt;		&amp;lt;th&amp;gt;Param&amp;lt;/th&amp;gt;		&amp;lt;th&amp;gt;Required&amp;lt;/th&amp;gt;		&amp;lt;th&amp;gt;Value&amp;lt;/th&amp;gt;		&amp;lt;th&amp;gt;Default&amp;lt;/th&amp;gt;		&amp;lt;th&amp;gt;Description&amp;lt;/th&amp;gt;	  &amp;lt;/tr&amp;gt;		  &amp;lt;tr&amp;gt;	    &amp;lt;td class=&amp;quot;param&amp;quot;&amp;gt;format&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;One&amp;amp;nbsp;of &amp;quot;html&amp;quot;, &amp;quot;plain&amp;quot;,  or &amp;quot;raw&amp;quot;.&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;&amp;quot;raw&amp;quot;&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;Sanitizing transformation.&amp;lt;/td&amp;gt;	  &amp;lt;/tr&amp;gt;	  &amp;lt;tr&amp;gt;	    &amp;lt;td class=&amp;quot;param&amp;quot;&amp;gt;lang&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;string&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;&amp;quot;/lang/en&amp;quot;&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;The desired language of the content&amp;lt;/td&amp;gt;	  &amp;lt;/tr&amp;gt;	  &amp;lt;tr&amp;gt;	    &amp;lt;td class=&amp;quot;param&amp;quot;&amp;gt;maxlength&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;no&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;integer (0&amp;amp;nbsp;-&amp;amp;nbsp;4,294,967,295)&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;200&amp;lt;/td&amp;gt;	    &amp;lt;td&amp;gt;The max number of characters to return. Valid only for 'plain' format.&amp;lt;/td&amp;gt;	  &amp;lt;/tr&amp;gt;   &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must pass the id of the entity that you want a description for in the URL path:&lt;br /&gt;
&lt;br /&gt;
 GET [https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/en/bob_dylan https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text'''/en/bob_dylan''']&lt;br /&gt;
&lt;br /&gt;
=Response=&lt;br /&gt;
&lt;br /&gt;
'''Content-type:''' application/json&lt;br /&gt;
&lt;br /&gt;
==Format==&lt;br /&gt;
&lt;br /&gt;
The response is a json structure. The field '''result''' contains the actual content. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;{&amp;quot;result&amp;quot;: &amp;quot;Bob Dylan, born Robert Allen Zimmerman, is an American singer-songwriter, author, poet, and painter, who has been a major figure in popular music for five decades. Much of Dylan's most celebrated work dates from the 1960s, when he became an informal chronicler and a reluctant figurehead of American unrest. A number of his songs, such as \&amp;quot;Blowin' in the Wind\&amp;quot; and \&amp;quot;The Times They Are a-Changin'\&amp;quot; became anthems of the civil rights movements. His most recent studio album, Modern Times, released on August 29, 2006, entered the U.S. album chart at number one, and that same year was named Album of the Year by Rolling Stone magazine.Dylan's early lyrics incorporated political, social, philosophical, and literary influences, defying existing pop music conventions and appealing widely to thecounterculture. While expanding and personalizing musical styles, he has explored many traditions of American song, from folk, blues and country to gospel,rock and roll and rockabilly to English, Scottish and Irish folk music, and even jazz and swing. Dylan performs with the guitar, piano and harmonica. Backed by a changing line-up of musicians, he has toured steadily since the late 1980s on what has been dubbed the \&amp;quot;Never Ending Tour\&amp;quot;. Although his accomplishments as performer and recording artist have been central to his career, his songwriting is generally regarded as his greatest contribution.&amp;quot;&lt;br /&gt;
}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Rules==&lt;br /&gt;
&lt;br /&gt;
===Selecting a Description===&lt;br /&gt;
&lt;br /&gt;
The API will behave differently depending on the [[Types | type]] of object you pass in the path. &lt;br /&gt;
&lt;br /&gt;
If you provide an id of an object that's not a content node, e.g. a topic like this:&lt;br /&gt;
&lt;br /&gt;
http://www.freebase.com/inspect/en/kurt_vonnegut&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/en/kurt_vonnegut&lt;br /&gt;
&lt;br /&gt;
the api will attempt to find the most recent description uploaded for that object and return it. This means that if the description changes, you will automatically get the new description the next time you perform the same call. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the most typical use case where you want to fetch the description of a Topic. &lt;br /&gt;
&lt;br /&gt;
If you provide an id of a content node like this:&lt;br /&gt;
&lt;br /&gt;
http://www.freebase.com/inspect/m/07t3z47&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/m/07t3z47&lt;br /&gt;
&lt;br /&gt;
the api will always return the exact same content since content nodes are immutable.&lt;br /&gt;
&lt;br /&gt;
===Content Format===&lt;br /&gt;
&lt;br /&gt;
The '''format''' parameter allows you to control the kind of data (text, html) that you want to fetch from the service. &lt;br /&gt;
&lt;br /&gt;
''plain''&lt;br /&gt;
&lt;br /&gt;
For this format, you 'll get back text that's suitable for display in any application. &lt;br /&gt;
&lt;br /&gt;
* If the content is marked html then strip all tags and return it. &lt;br /&gt;
* If the content is marked otherwise, return it as is&lt;br /&gt;
* Otherwise returns an error (4xx).                                      &lt;br /&gt;
&lt;br /&gt;
Example: https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/music/album?format=plain&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;caution&amp;quot;&amp;gt;You should NOT inject ''plain'' formatted content on a web page without escaping it first.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''html''&lt;br /&gt;
&lt;br /&gt;
This format will return html content that's suitable for display in a web app. &lt;br /&gt;
&lt;br /&gt;
* If the content is marked html then sanitize and return it.             &lt;br /&gt;
* If the content is marked text then wrap in &amp;lt;p&amp;gt; tags and sanitize it. &lt;br /&gt;
* Otherwise returns an error (4xx).                                      &lt;br /&gt;
                                                                                 &lt;br /&gt;
Example: https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/music/album?format=html&lt;br /&gt;
&lt;br /&gt;
The ''html'' format will attempt to sanitize html content before returning it. This means that it's safe to output this content on a web page even if you don't escape it. The sanitization will leave a small subset of tags intact (such as p, br, b, ul, li) for some limited formatting of the text. &lt;br /&gt;
&lt;br /&gt;
''raw''&lt;br /&gt;
&lt;br /&gt;
This format will return he original content as-is.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;caution&amp;quot;&amp;gt;You should NOT inject ''raw'' formatted content on a web page without escaping it first.'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Security Considerations=&lt;br /&gt;
&lt;br /&gt;
There are serious security considerations when using the output of this API on a web page. Incorrect use can potentially lead to [http://en.wikipedia.org/wiki/Cross-site_scripting XSS] attacks on your site so make sure you read and understand this section.&lt;br /&gt;
&lt;br /&gt;
The '''text''' api has different security characteristics depending on the '''format''' parameter that you pass it. The reason for this is to address different use cases.&lt;br /&gt;
&lt;br /&gt;
==Using the API output in a browser==&lt;br /&gt;
&lt;br /&gt;
The ''html'' format is meant to be used for using the results of this API in a browser. This will ensure there are no harmful html tags/styles in the response, but at the same time limits the amount of html formatting you can have in a description. &lt;br /&gt;
&lt;br /&gt;
This is the only format that you can use safely in a web page. &lt;br /&gt;
&lt;br /&gt;
==Other Use Cases==&lt;br /&gt;
&lt;br /&gt;
If you want to display content as-is, you can use the ''plain'' and ''raw'' formats. &lt;br /&gt;
&lt;br /&gt;
The ''plain'' format will strip any html tags from html content and return the result. The problem is that Freebase is an open database, so everyone can, maliciously or erroneously, set the incorrect content-type for a piece of content. This means you can't just trust the content that gets returned. &lt;br /&gt;
&lt;br /&gt;
If you are going to print ''plain'' content in a web page, you '''have to html-escape the content first'''. &lt;br /&gt;
&lt;br /&gt;
The ''raw'' format will behave in the same way as the ''plain'' format for non-html content, but it will also return html content as-is, without stripping tags. The same security restrictions apply for ''raw'' as for ''plain'' - i.e. you have to html-escape any content you get back from these formats.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
'''get the description for a topic'''&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/m/02mjmr&lt;br /&gt;
&lt;br /&gt;
'''get the description of a type'''&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/music/album&lt;br /&gt;
&lt;br /&gt;
'''get a specific description string'''&lt;br /&gt;
&lt;br /&gt;
the output of this call will never change:&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/m/07t3z47&lt;br /&gt;
&lt;br /&gt;
'''get safe html to print on a web page'''&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/music/album?format=html&lt;br /&gt;
&lt;br /&gt;
'''get text to use in a client application'''&lt;br /&gt;
&lt;br /&gt;
Do '''not''' print this on a web page without html-encoding first.&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/m/02mjmr?format=plain&lt;br /&gt;
&lt;br /&gt;
'''get a tiny description'''&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/m/02mjmr?format=plain&amp;amp;maxlength=50&lt;br /&gt;
&lt;br /&gt;
'''get the raw contents of a content node'''&lt;br /&gt;
&lt;br /&gt;
 GET https://{{G:FB_API_DOMAIN}}/freebase/{{G:FB_API_VERSION}}/text/user/stefanomazzocchi/matchmaker/templates?format=raw&lt;br /&gt;
&lt;br /&gt;
== Batch Requests ==&lt;br /&gt;
&lt;br /&gt;
The json-rpc mechanism allows you to do batch requests for multiple ids at the same time. Here's an example in python of how that works - you can construct a similar request in your language of choice:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
import urllib&lt;br /&gt;
import urllib2&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
url = 'https://www.googleapis.com/rpc'&lt;br /&gt;
requests = [{&lt;br /&gt;
  'method': 'freebase.text.get', &lt;br /&gt;
  'apiVersion': 'v1', &lt;br /&gt;
  'params': {&lt;br /&gt;
    'id': ['en','bob_dylan']&lt;br /&gt;
  }&lt;br /&gt;
},{&lt;br /&gt;
  'method': 'freebase.text.get', &lt;br /&gt;
  'apiVersion': 'v1', &lt;br /&gt;
  'params': {&lt;br /&gt;
    'id': ['en','blade_runner']&lt;br /&gt;
  }&lt;br /&gt;
}]&lt;br /&gt;
headers = { 'Content-Type': 'application/json' }&lt;br /&gt;
req = urllib2.Request(url, json.dumps(requests), headers)&lt;br /&gt;
response = urllib2.urlopen(req)&lt;br /&gt;
print response.read()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:API Services]]&lt;/div&gt;</summary>
		<author><name>Masouras50</name></author>	</entry>

	</feed>