资 源 简 介
IMPORTANT NOTE
The freebase-python library uses the legacy, deprecated, Freebase APIs. For instructions on the new Freebase APIs, see here: https://developers.google.com/freebase/
Freebase.com has an open API that can be used to access and update structured data.
The RESTful http-based API is completely documented at Freebase.com along with some simple examples. This library provides a python interface to that API.
Usage should be as simple as:
>>> import freebase>>> freebase.mqlread({"id": "/en/david_bowie", "name": None}){u"id": u"/en/david_bowie", u"name": u"David Bowie"}
For more information, see GettingStarted.
This library also provides a number of command-line utilities and APIs for creating, dumping, and reloading schema to make it easy to programatically create schema and move schema from sandbox