<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 14, 2008, at 4:18 AM, Shug Boabby wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">I have not been able to perform any Freebase API queries to retrieve<br>the Wikipedia URL for a given object with a GUID. Is this possible? It<br>would be incredibly useful if it was.</span></blockquote></div><div><br></div><div>Wikipedia URLs are created automatically by substituting the /wikipedia/en_id key of the topic into the following URL:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://en.wikipedia.org/wiki/index.html?curid=8980330">http://en.wikipedia.org/wiki/index.html?curid=8980330</a></div><div><br></div><div>... where 8980330 is the /wikipedia/en_id key.</div><div><br></div><div>You can retrieve the /wikipedia/en_id (aka the "wpid") from freebase using any variant of the following MQL:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="Courier">[<br> {<br> "id" : "/en/barack_obama",<br> "key" : {<br> "namespace" : "/wikipedia/en_id",<br> "value" : null<br> }<br> }<br>]</font></blockquote><div><div><br></div><div>Brian</div></div></body></html>