[Developers] Finding the reverse link
Jim Weaver
jlweaver at lat-inc.com
Fri Sep 21 16:38:45 UTC 2007
I think I answered my own question (by reading some postings in the
mailing list). This also addresses my problem expressed in the "Can a
link's opposite direction name be retrieved with less queries?" post.
Here is the modified query:
{
"query":[{
"/type/reflect/any_reverse":[{
"id":null,
"link":{
"master_property":{
"reverse_property":null
}
},
"name":null,
"type":[]
}],
"id":"/wikipedia/en/The_Police",
"name":null
}]
}
This brings up another question though: What is the best way to know
that you can use, for example, "master_property" subordinate to "link",
and "reverse_property" subordinate to "reverse_property"? Is there a
reference for this?
Thanks,
Jim Weaver
________________________________
From: developers-bounces at freebase.com
[mailto:developers-bounces at freebase.com] On Behalf Of Jim Weaver
Sent: Friday, September 21, 2007 12:23 PM
To: developers at freebase.com
Subject: [Developers] Finding the reverse link
In this query:
{
"query":[{
"/type/reflect/any_reverse":[{
"id":null,
"link":null,
"name":null,
"type":[]
}],
"id":"/wikipedia/en/The_Police",
"name":null
}]
}
Is there a way to cause the inverse link to be returned (e.g.
"/music/artist/album" instead of "/music/album/artist")?
Thanks,
Jim Weaver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070921/9d5c197a/attachment.htm
More information about the Developers
mailing list