<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <author>
    <name>danm</name>
    <uri>http://www.freebase.com:80/view/user/danm</uri>
  </author>
    <generator uri="http://www.freebase.com/">Freebase Atom Feed Generator</generator>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f800000000544e111</id>
    <link rel="self" href="http://www.freebase.com:80/feed/discuss/topic/guid/9202a8c04000641f800000000544e111"/>
    <title>5. The MQL Write Grammar</title>
    <updated>2008-07-09T11:05:52Z</updated>
  <entry>
    <author>
    <name>crism</name>
    <uri>http://www.freebase.com:80/view/user/crism</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;p&gt;All links are truly bidirectional. The client may not &lt;em&gt;show&lt;/em&gt; them, but that is not the same thing. The Explore view (change &lt;strong&gt;view&lt;/strong&gt; to &lt;strong&gt;tools/explore&lt;/strong&gt; in the URL, or hit F8 to expose the tool bar at the bottom of the page) shows all incoming and outgoing links. Non-reciprocated properties can also be accessed in MQL using the &lt;strong&gt;!&lt;/strong&gt; operator:&lt;/p&gt;&lt;p&gt;{&lt;br /&gt;&amp;nbsp; &amp;quot;!/music/release/artist&amp;quot; : [&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;name&amp;quot; : null&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; ],&lt;br /&gt;&amp;nbsp; &amp;quot;id&amp;quot; : &amp;quot;/en/the_beatles&amp;quot;&lt;br /&gt;}&lt;/p&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f8000000008659fba</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f8000000008659fba" title="5. The MQL Write Grammar: bidirectional links"/>
    <summary type="html">All links are truly bidirectional. The client may not show them, but that is not the same thing....</summary>
    <title>5. The MQL Write Grammar: bidirectional links</title>
    <updated>2008-06-17T22:20:16.0007Z</updated>
  </entry><entry>
    <author>
    <name>vtalwar</name>
    <uri>http://www.freebase.com:80/view/user/vtalwar</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;p&gt;&amp;quot;One of the fundamental aspects of Metaweb is that all links between nodes are bi-directional.&amp;quot;&lt;/p&gt;&lt;p&gt;Is this really true? There are properties that have no reverse property defined, and are in effect unidirectional.&lt;/p&gt;&lt;p&gt;These can be found with the following query:&lt;/p&gt;&lt;p&gt;[&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;id&amp;quot; : null,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;limit&amp;quot; : 10,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;reverse_property&amp;quot; : {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;id&amp;quot; : null,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;optional&amp;quot; : &amp;quot;forbidden&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;type&amp;quot; : &amp;quot;/type/property&amp;quot;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;] &lt;/p&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f80000000086591f2</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f80000000086591f2" title="5. The MQL Write Grammar: bidirectional links"/>
    <summary type="html">&amp;quot;One of the fundamental aspects of Metaweb is that all links between nodes are bi-directional....</summary>
    <title>5. The MQL Write Grammar: bidirectional links</title>
    <updated>2008-06-17T21:36:05.0012Z</updated>
  </entry><entry>
    <author>
    <name>jeff</name>
    <uri>http://www.freebase.com:80/view/user/jeff</uri>
  </author>
    <content type="html">&lt;p&gt;The type &lt;a href="/tools/schema/common/topic"&gt;/common/topic&lt;/a&gt; has a property &amp;quot;webpage&amp;quot; that you can use.&amp;nbsp; All topics should include /common/topic as one of the types (although it won't be listed explicitly on the page) -- it's what gives them the images, weblinks, description, and &amp;quot;also known as&amp;quot; properties. &lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f800000000852e47e</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f800000000852e47e" title="5. The MQL Write Grammar: Writing Weblink"/>
    <summary type="html">The type /common/topic has a property &amp;quot;webpage&amp;quot; that you can use.&amp;nbsp; All topics should...</summary>
    <title>5. The MQL Write Grammar: Writing Weblink</title>
    <updated>2008-06-03T17:50:41.0000Z</updated>
  </entry><entry>
    <author>
    <name>jamslevy</name>
    <uri>http://www.freebase.com:80/view/user/jamslevy</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;p&gt;It looks like it isn't possible to use the write service to create weblinks, as it's outside the schema. But maybe I'm wrong.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If we want to establish a link for an object, am I correct in guessing that the schema would need to incorporate a link property? &lt;/p&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f80000000084fa591</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f80000000084fa591" title="5. The MQL Write Grammar: Writing Weblink"/>
    <summary type="html">It looks like it isn't possible to use the write service to create weblinks, as it's outside the...</summary>
    <title>5. The MQL Write Grammar: Writing Weblink</title>
    <updated>2008-05-31T20:26:55.0012Z</updated>
  </entry><entry>
    <author>
    <name>nix</name>
    <uri>http://www.freebase.com:80/view/user/nix</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;p&gt;The &amp;quot;creating a domain&amp;quot; section is misleading: the new domain will not have the special permission structure that is usually associated with an instance of /type/domain.&amp;nbsp; The only way to create that permission is to use a special domain creation entrypoint, which should be documented elsewhere rather than as part of the mqlwrite tutorial.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007b9b1b5</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007b9b1b5" title="5. The MQL Write Grammar: Errata"/>
    <summary type="html">The &amp;quot;creating a domain&amp;quot; section is misleading: the new domain will not have the special...</summary>
    <title>5. The MQL Write Grammar: Errata</title>
    <updated>2008-03-25T06:16:32.0000Z</updated>
  </entry><entry>
    <author>
    <name>willmoffat</name>
    <uri>http://www.freebase.com:80/view/user/willmoffat</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;strong&gt;5.1.12.1. Creating Self-Referential Reciprocal Properties&lt;/strong&gt;&lt;br /&gt;&lt;blockquote&gt;At the time of this writing, the freebase.com client does not allow us to create reciprocal properties where both ends of the link refer the same type&lt;/blockquote&gt;This is no longer true. &lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa75f8</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa75f8" title="5. The MQL Write Grammar: Errata"/>
    <summary type="html">5.1.12.1. Creating Self-Referential Reciprocal PropertiesAt the time of this writing, the freebase...</summary>
    <title>5. The MQL Write Grammar: Errata</title>
    <updated>2008-03-14T14:47:34.0007Z</updated>
  </entry><entry>
    <author>
    <name>willmoffat</name>
    <uri>http://www.freebase.com:80/view/user/willmoffat</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;p&gt;&lt;strong&gt;5.1.11. Namespaces&lt;/strong&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;What if we query the id of a note?&lt;br /&gt;We get the guids of the notes rather than the fully-qualified names we've just defined. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This behaviour seems to have changed. I get the fully-quailified names and not the guids as stated above: &lt;/p&gt;&lt;pre class="programlisting"&gt;  &amp;quot;note&amp;quot;:[{&amp;quot;id&amp;quot;:&amp;quot;/user/willmoffat/note/C&amp;quot;}&lt;br /&gt;  ... snip ... ]&lt;/pre&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa74c1</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa74c1" title="5. The MQL Write Grammar: Errata"/>
    <summary type="html">5.1.11. Namespaces What if we query the id of a note?We get the guids of the notes rather than the...</summary>
    <title>5. The MQL Write Grammar: Errata</title>
    <updated>2008-03-14T14:11:11.0000Z</updated>
  </entry><entry>
    <author>
    <name>willmoffat</name>
    <uri>http://www.freebase.com:80/view/user/willmoffat</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;div&gt;&lt;p&gt;If you spot a mistake in the mqlwrite docs then please reply here.&lt;/p&gt; &lt;/div&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa74ab</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa74ab" title="5. The MQL Write Grammar: Errata"/>
    <summary type="html">If you spot a mistake in the mqlwrite docs then please reply here. If you spot a mistake in the...</summary>
    <title>5. The MQL Write Grammar: Errata</title>
    <updated>2008-03-14T14:10:28.0012Z</updated>
  </entry><entry>
    <author>
    <name>willmoffat</name>
    <uri>http://www.freebase.com:80/view/user/willmoffat</uri>
  </author>
    <content type="html">&lt;p&gt;&lt;p&gt;If you've just started the tutorial, remember that you can't just copy and paste the examples. You need to add the envelope.&lt;/p&gt;&lt;p&gt;So, the first example&lt;/p&gt;&lt;pre class="programlisting"&gt;{&lt;br /&gt;  &amp;quot;create&amp;quot;:&amp;quot;unless_exists&amp;quot;,&lt;br /&gt;  ... snip ...&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Becomes &lt;/p&gt;&lt;pre class="programlisting"&gt;&lt;strong&gt;{&amp;quot;query&amp;quot;:&lt;/strong&gt;&lt;br /&gt;  {&lt;br /&gt;  &amp;quot;create&amp;quot;:&amp;quot;unless_exists&amp;quot;,&lt;br /&gt;  ... snip ...&lt;br /&gt;   }&lt;br /&gt;&lt;strong&gt;} &lt;/strong&gt;&lt;/pre&gt;&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa742d</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f8000000007aa742d" title="5. The MQL Write Grammar: Don't forget the {query:{}} envelope!"/>
    <summary type="html">If you've just started the tutorial, remember that you can't just copy and paste the examples. You...</summary>
    <title>5. The MQL Write Grammar: Don't forget the {query:{}} envelope!</title>
    <updated>2008-03-14T14:03:32.0012Z</updated>
  </entry><entry>
    <author>
    <name>vtalwar</name>
    <uri>http://www.freebase.com:80/view/user/vtalwar</uri>
  </author>
    <content type="html">&lt;p&gt;{
  "query":{
    "gender":{
      "connect":"update",
      "id":"#9202a8c04000641f8000000000017b14"
    },
    "id":"#9202a8c04000641f800000000001b3f3",
    "type":"/people/person"
  }
}&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f80000000054bbc2f</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f80000000054bbc2f" title="5. The MQL Write Grammar: help for a simple piece of mqlwrite"/>
    <summary type="html">{
 "query":{
 "gender":{
 "connect":"update",
 "id":"...</summary>
    <title>5. The MQL Write Grammar: help for a simple piece of mqlwrite</title>
    <updated>2007-07-15T23:59:18.0007Z</updated>
  </entry><entry>
    <author>
    <name>dsp13</name>
    <uri>http://www.freebase.com:80/view/user/dsp13</uri>
  </author>
    <content type="html">&lt;p&gt;Suppose I'd like to set George Eliot's gender to 'Female'. I can find an id for her, and another for her gender, with a read query:
{"query":{
    "gender":[{
      "id":null
    }],
    "id":null,
    "key":"George_Eliot",
    "type":"/people/person"
 }}
But I can't work out how to use this to write her gender in.&lt;/p&gt;</content>
    <id>http://www.freebase.com:80/view/guid/9202a8c04000641f80000000054bb789</id>
    <link rel="alternate" type="text/html" href="http://www.freebase.com:80/view/guid/9202a8c04000641f80000000054bb789" title="5. The MQL Write Grammar: help for a simple piece of mqlwrite"/>
    <summary type="html">Suppose I'd like to set George Eliot's gender to 'Female'. I can find an id for her, and another...</summary>
    <title>5. The MQL Write Grammar: help for a simple piece of mqlwrite</title>
    <updated>2007-07-15T19:57:11.0004Z</updated>
  </entry>
</feed>