[Developers] Creating types through mqlwrite

Christopher R. Maden crism at maden.org
Tue Apr 7 22:02:40 UTC 2009


Michael Callaghan wrote:
> OK thanks for the replies.  Perhaps manual type creation and modification on
> freebase.com coupled with programmatic topic creation and querying on the
> sandbox is the only way to go during testing and development, although I'm
> still unsure what errors could be made during type creation and what
> problems such errors would cause.

Types are just Freebase objects with types and properties of their own.
 Creating nonsensical shapes that claim to be types can cause MQL to get
confused and can cause the Web client to fail to display and manipulate
them correctly.  Properties need to be created with the right shapes,
especially with master and reverse relationships.  Some types in bases
have associated views.  Etc.  The Web client does a lot of magic to
ensure that the correct shapes are created in the graphs when creating
or modifying types and properties; replicating this process via manual
MQL writes is fraught, and even Metaweb staff sometimes screw it up.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
“All I ask of living is to have no chains on me,
 And all I ask of dying is to go naturally.” — Laura Nyro
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319


More information about the Developers mailing list