[Developers] Query editor 2.0

Gordon Mackenzie gordon at metaweb.com
Wed Apr 22 20:59:36 UTC 2009


Just did one on the new query editor before lunch on sandbox, didn't  
show on either topic page until I also added book subject as a type on  
the topic for Nuclear holocaust manually:

{
   "id": "/en/dude",
   "/book/book_subject": {
     "connect": "update",
     "id":      "/en/nuclear_holocaust"
   }
}

How would I ensure that the ID I am connecting to has the appropriate  
type?

~ Gordon

<<< gordon at metaweb.com >>>



On Apr 22, 2009, at 1:52 PM, David Huynh wrote:

> Philip Kendall wrote:
>> On Wed, Apr 22, 2009 at 11:21:36AM -0700, David Huynh wrote:
>>
>>> We are releasing version 2 of our MQL query editor, with a  
>>> substantial
>>> number of new features:
>>>
>>
>> [ ... ]
>>
>>
>>> Please try it out and give us feedback!
>>>
>>
>> Dumb question: is it still possible to do MQL writes with the new  
>> query
>> editor? That was definitely a feature I found useful.
>>
> Yes. If your query contains a "connect", it automatically calls  
> mqlwrite
> instead of mqlread. The Run button (or Ctrl-Enter) does both
> functionalities.
>
> And you can hit Tab after
>
>    connect:
>
> for all the possible choices.
>
>> MQL question: is the "page" envelope parameter documented anywhere? I
>> can sort of guess what it does, but...
>>
> Maybe Kirrily knows this one...
>
> David
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list