[Developers] Difference between 2 querys

Sebastian Kurt kurt at inf.fu-berlin.de
Sun Dec 9 22:33:55 UTC 2007


Good Evening or what time it is where you are right now,

I got two querys, both querying for "Art"
#1 gets a timeout, #2 gets many answers

#1 http://pastebin.com/m6ae0dbd9
#2 http://pastebin.com/m7debf255

my solution #1 querys for /type/domain and #2 for names. But I don't 
know who to combine it. it times out because there is no category named 
"Art" without "s" and the many results are topics, i guess?

cheers
Sebastian

Querys:
#1
{
   "someids" : {
     "query" : [
       {
         "domains" : [
           {
             "limit" : 1,
             "name" : null,
             "type" : "/type/domain",
             "types" : [
               {
                 "instance" : [
                   {
                     "limit" : 1,
                     "name" : null,
                     "name~=" : "Art"
                   }
                 ],
                 "limit" : 1
               }
             ]
           }
         ],
         "id" : null,
         "name" : null,
         "type" : "/freebase/domain_category"
       }
     ]
   }
}
#2
{
   "qname" : {
     "query" : [
       {
         "name" : null,
         "name~=" : "Art",
         "type" : [
           {
             "id" : null,
             "name" : null
           }
         ]
       }
     ]
   }
}
-- 
mailto:kurt at inf.fu-berlin.de
0179 7923088
http://vIdentity.de
http://skurt.de


More information about the Developers mailing list