[Developers] /type/link queries and reverses

augusto callejas acallejas at appliedminds.com
Fri Dec 19 22:08:17 UTC 2008


hi-

i don't understand why i can't query for links
using one property, but i can for its reverse property.
in the example below, i'm querying for spouse_s links
going out from mel gibson, and in the second query
i'm querying for /people/marriage/spouse links going
into mel gibson.

thanks,
augusto.

===
[
   {
     "master_property" : "/people/person/spouse_s",
     "source" : {
       "id" : "/en/mel_gibson",
       "type" : "/people/person"
     },
     "type" : "/type/link"
   }
]
---
[]
===

===
[
   {
     "master_property" : "/people/marriage/spouse",
     "source" : {},
     "target" : {
       "id" : "/en/mel_gibson",
       "type" : "/people/person"
     },
     "type" : "/type/link"
   }
]
---
[
   {
     "master_property" : "/people/marriage/spouse",
     "source" : {
       "id" : "/guid/9202a8c04000641f800000000518d134",
       "name" : null,
       "type" : [
         "/people/marriage"
       ]
     },
     "target" : {
       "id" : "/en/mel_gibson",
       "type" : "/people/person"
     },
     "type" : "/type/link"
   }
]
===
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20081219/ad69b41d/attachment.htm 


More information about the Developers mailing list