Great, thanks. -JT<br><br><div class="gmail_quote">On Thu, Apr 2, 2009 at 10:41 PM, John Giannandrea <span dir="ltr"><<a href="mailto:jg@metaweb.com">jg@metaweb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi<br>
If you know you want to create a new webpage, i.e. you are not trying<br>
to find one with an existing URL or title then you can use<br>
"create":"unconditional" with no name clause.<br>
-jg<br>
<div><div></div><div class="h5"><br>
<br>
On Apr 2, 2009, at 10:09 PM, James Taylor wrote:<br>
<br>
> Hi,<br>
> I'm wondering if someone can point me to the proper mql query for<br>
> creating compound topics. For instance, say I want to create a<br>
> webpage topic. I initially thought that the following query was the<br>
> way to go:<br>
><br>
> {<br>
> "create":"unless_exists",<br>
> "type": "/common/webpage",<br>
> "name":"",<br>
> "id":null<br>
> }<br>
><br>
> However, I'm not sure how to manage the fact that the name property<br>
> is not really a used value (i.e. there isn't a proper or unique<br>
> value for "name"). Without a unique value for name, this query<br>
> cannot create unique properties. Same thing happens when the name<br>
> property is removed:<br>
> {<br>
> "create":"unless_exists",<br>
> "type": "/common/webpage",<br>
> "id":null<br>
> }<br>
><br>
> Thanks for the help.<br>
> -JT<br>
</div></div>> _______________________________________________<br>
> Developers mailing list<br>
> <a href="mailto:Developers@freebase.com">Developers@freebase.com</a><br>
> <a href="http://lists.freebase.com/mailman/listinfo/developers" target="_blank">http://lists.freebase.com/mailman/listinfo/developers</a><br>
<br>
_______________________________________________<br>
Developers mailing list<br>
<a href="mailto:Developers@freebase.com">Developers@freebase.com</a><br>
<a href="http://lists.freebase.com/mailman/listinfo/developers" target="_blank">http://lists.freebase.com/mailman/listinfo/developers</a><br>
</blockquote></div><br>