*
Share This
Freebase Documentation table
table started by
skud for the Freebase Commons
There is no user-contributed description yet.
\^/ Plot Points:
select property to plot
x
Add another type with the property you want to view.
| x name | x image | x Also Typed With | x Tags | x article |
|---|---|---|---|---|
| x api/account/logout | Freebase API service | |||
| x api/account/login | Freebase API service | |||
| x api/trans/image_thumb | Freebase API service |
Examples: A. Wide Image 1. Original: http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f800000000514e28e 2. Only maxwidth http://www.freebase.com/api/trans/image_thumb/guid/9202a8c04000641f800000000514e28e?maxwidth=100 3. maxwidth and...
|
||
| x api/trans/blurb | Freebase API service |
Examples:http://www.freebase.com/api/trans/blurb/guid/9202a8c04000641f800000000001daf5?maxlength=1200 http://www.freebase.com/api/trans/blurb/guid/9202a8c04000641f800000000001daf5?maxlength=30&callback=foo
|
||
| x api/trans/raw | Freebase API service |
Examples:http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f8000000003cbdd2dWith callback:http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f8000000006cf5891?callback=foo
|
||
| x api/service/upload | Freebase API service | api/service/upload |
|
|
| Freebase documentation tag | API | |||
| x api/service/search | Freebase API service |
prefixed: a boolean (true, false, 1, 0) that indicates whether the query is prefixed. It overrides the presence of a terminating * in the query string. limit: (default 20) the number of results to return start: makes it...
|
||
| x api/service/mqlread | Freebase API service |
The mqlread service is used to perform read-only queries on Freebase data. Examples: http://www.freebase.com/api/service/mqlread?query={"query":[{"...
|
||
| Freebase documentation tag | ||||
| x Avoid caching problems when using the API | Freebase Tip | Cache |
Imagine a situation where you have an application that's doing the same mqlread over and over, and meanwhile someone else is changing the data, for instance via the Freebase.com UI or via another application. Your app won't pick up those data...
|
|
| Help Topic | HTTP cookie | |||
| api/service/mqlwrite | ||||
| mwLastWriteTime | ||||
| x View the developer toolbar | Freebase Tip | Toolbar |
To view the developer toolbar, click F8 while viewing any Freebase page, then scroll to the bottom of the page. You will see all kinds of useful information and links to some handy pages for expert users.
|
|
| Help Topic | explore | |||
| admin | ||||
| x Perform transitive queries | Freebase Tip | Location |
Let's say you want to find all the Freebase users who live in the USA, but they have their locations set to things like "San Francisco" or "New Orleans". How do you ask for "USA, and anything within the USA"? ...
|
|
| Help Topic | MQL | |||
| x Guids Are Faster than IDs | Freebase Tip | api/service/mqlread |
Freebase ids and guids are both unambiguous ways of referencing topics in Freebase. If you're running queries which return a large number of values and you'd like to get a key to reference them by, asking for guid rather than the id can be...
|
|
| Help Topic | Performance analysis | |||
| x api/status | Freebase API service |
A simple test of the current Freebase server. This is primarily used for operational testing and validation and should not generally be used by client software.
|
||
| x Get data as of a specific time | Help Topic | version |
You can use the "as_of_time" attribute in the mql envelope to get data that was present at a specific time. One interesting use of this feature is to create a kind of trust authority application. Establish your own trusted view of topics...
|
|
| dates | ||||
| x Why MQL doesn't enforce types | Help Topic | schema migration |
The reason is that MQL doesn't enforce any types. There is no requirement that the thing connected by the 'state' property be a state. i.e. in freebase the type system is not normative. Its perfectly OK to put a person in that clause, should...
|
|
| types | ||||
| x How to monitor schema changes | Freebase Tip |
If your application depends on specific freebase schema you should subscribe to the developers@freebase.com and data-modeling mailing lists. Metaweb sends advanced notice of system schema changes to one or both of those lists.
|
||
| Help Topic | ||||
| x Handle generalized dates | Freebase Tip | UTC |
In the graph we can represent the date as 2007, 2007-10, 2007-10-03, etc..technically these dates are UTC.Unfortunately when this gets loaded into a Javascript object in the browser, it gets converted to an absolute time (like Jan 1, 2007 at 0:00UTC...
|
|
| Help Topic | dates | |||
| JavaScript | ||||
| Time | ||||
| error | ||||
| x Read properties of a type | Help Topic | query |
This brings up the general concept of "default_property"
|
|
| value | ||||
| properties | ||||
| system types | ||||
| literal | ||||
| x values vs name/id | Help Topic | optional |
The shortcut:"/music/artist/active_start": [{}]The explanation:There's a bit of a trick to this. MQL divides the world into "values" and "objects". If you look at the expected_type of a property (try the query{ "...
|
|
| value | ||||
| properties | ||||
| [{}] | ||||
| expected_type | ||||
| x Why a value is not returned automatically |
Consider the Bradbury Building (a location in Blade Runner):{ "id": "#9202a8c04000641f800000000047b022", "type": [], "/common/topic/alias": [], "name": null }{"alias" : ["Bradbury...
|
|||
| x Query envelope must be a dictionary | ||||
| x Must ask for a value when you use a comparison operator | ||||
| x Type /type/datetime does not have property name | ||||
| x Query timeout | ||||
| x string indices must be integers | ||||
| x Unique query may have at most one result. Got xx | ||||
| x Too many writes | ||||
| x Expected a dictionary or a list with one element here | ||||
| x Can't use a dictionary as a directive value | ||||
| x Can't locate this clause - cannot continue |
Causes may include: - trying to create instances of types that don't exist.
|
|||
| x Keep up with Freebase discussions | Freebase Tip | RSS |
1. WATCHED DISCUSSIONS In any discussion page, there is an option to "Watch this discussion". By clicking on this, the discussion will show up on your homepage, and you will see new posts. 2. RSS FEEDS All discussions have...
|
|
| discussions | ||||
| x Wikipedia article text | Help Topic | Description Property |
Freebase doesn't store wikipedia articles. Freebase provides the wikipedia key so that you can get the article from wikipedia.
|
|
| Article | ||||
| Wikipedia | ||||
| x Explicitly specify name or id | Freebase Tip |
When asked to display a simple string form of a property value, MQL has some rules that it follows.
|
||
| Help Topic | ||||
| x Find distinct co-types | Help Topic | instance |
> I'm trying to form an MQL read query that specifies a type > (e.g. /business/company), finds all topics of that type, lists all other > types linked to those topics and returns a distinct list of those other> types (as per a SQL SELECT...
|
|
| co-type | ||||
| x Creating relationships | Help Topic | link |
1) Since concepts can have multiple types, you will always need to specify the type that you are populating values for. Alternatively, you can use the instance ID and the fully qualified property ID for your query:{ "query" : { ...
|
|
| write | ||||
| type | ||||
| ECT | ||||
| x Mark for deletion | Help Topic |
You can use this query to mark something for deletion:{ "query" : { "type" : "/freebase/opinion_collection" "mark_for_delete" : { "id" : [id of topic to delete here] }, "...
|
||
| x Sort by index and timestamp | Help Topic | order |
> If I ask for the set of properties on an item. What is the default> ordering of those items?It is effectively random.It is actually in the order in which the items are found, which is typically the order in which they were created, but that...
|
|
| x Combine queries | Help Topic | inside-out |
I query for ID's belonging to a <keyword>, after that (extracting IDs with PHP), I query foreach ID what CATEGORY, it is in and whats its name: Now the question is, if it is possible to merge both: "Query for CATEGORIES (and name of given...
|
|
| x HTML encoding with write | Help Topic Delete | write | ||
| Help Topic | html | |||
| encode | ||||
| x Query for special characters | Help Topic Delete | write | ||
| Help Topic | Escape character | |||
| html | ||||
| x api/service/touch | Freebase API service |
Resets the mwLastWriteTime cookie to the current time. Freebase.com uses the mwLastWriteTime cookie to optimize query responses; it guarantees that any responses will be at least as new as the mwLastWriteTime cookie. This cookie is...
|
||
| x Creating Schemas | Help Topic | |||
| Freebase Tip | ||||
| x Beginner's Guide: Creating Schemas | Help Topic |
If you've spent any time exploring Freebase you've no doubt seen the types that are associated with every topic, and you've probably seen some interesting bases and types that other users have made. You've probably also started thinking about ways...
|
||
| Freebase Tip | ||||
| x Data Modeling Guide |
|
Help Topic |
Although the Freebase application makes it a lot easier to create and maintain types, data modeling is still a difficult and nuanced discipline. By following these guidelines, you will make your data more usable, extensible and und | |
