Great, thanks. -JT<br><br><div class="gmail_quote">On Thu, Apr 2, 2009 at 10:41 PM, John Giannandrea <span dir="ltr">&lt;<a href="mailto:jg@metaweb.com">jg@metaweb.com</a>&gt;</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>
&quot;create&quot;:&quot;unconditional&quot; 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>
&gt; Hi,<br>
&gt; I&#39;m wondering if someone can point me to the proper mql query for<br>
&gt; creating compound topics.  For instance, say I want to create a<br>
&gt; webpage topic.  I initially thought that the following query was the<br>
&gt; way to go:<br>
&gt;<br>
&gt; {<br>
&gt;      &quot;create&quot;:&quot;unless_exists&quot;,<br>
&gt;      &quot;type&quot;: &quot;/common/webpage&quot;,<br>
&gt;      &quot;name&quot;:&quot;&quot;,<br>
&gt;      &quot;id&quot;:null<br>
&gt; }<br>
&gt;<br>
&gt; However, I&#39;m not sure how to manage the fact that the name property<br>
&gt; is not really a used value (i.e. there isn&#39;t a proper or unique<br>
&gt; value for &quot;name&quot;).  Without a unique value for name, this query<br>
&gt; cannot create unique properties.  Same thing happens when the name<br>
&gt; property is removed:<br>
&gt; {<br>
&gt;      &quot;create&quot;:&quot;unless_exists&quot;,<br>
&gt;      &quot;type&quot;: &quot;/common/webpage&quot;,<br>
&gt;      &quot;id&quot;:null<br>
&gt; }<br>
&gt;<br>
&gt; Thanks for the help.<br>
&gt; -JT<br>
</div></div>&gt; _______________________________________________<br>
&gt; Developers mailing list<br>
&gt; <a href="mailto:Developers@freebase.com">Developers@freebase.com</a><br>
&gt; <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>