[Developers] creating compound topics

James Taylor jame0taylor at gmail.com
Fri Apr 3 05:09:02 UTC 2009


Hi,
I'm wondering if someone can point me to the proper mql query for creating
compound topics.  For instance, say I want to create a webpage topic.  I
initially thought that the following query was the way to go:

{
      "create":"unless_exists",
      "type": "/common/webpage",
      "name":"",
      "id":null
}

However, I'm not sure how to manage the fact that the name property is not
really a used value (i.e. there isn't a proper or unique value for "name").
Without a unique value for name, this query cannot create unique
properties.  Same thing happens when the name property is removed:
{
      "create":"unless_exists",
      "type": "/common/webpage",
      "id":null
}

Thanks for the help.
-JT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090402/318bbe86/attachment.htm 


More information about the Developers mailing list