[Developers] Question about wpid and freebase id
Brian Karlak
zenkat at metaweb.com
Wed Jul 23 15:34:31 UTC 2008
On Jul 23, 2008, at 3:46 AM, Shug Boabby wrote:
> However, although the WEX
> dumps have the wpid table, I am not able to find the Wikipedia Names
> anywhere.
The Wikipedia Names for all articles and redirects that map to a
freebase topic can be found as keys in the /wikipedia/en namespace:
{
"id" : "/en/barack_obama",
"key" : [
{
"namespace" : "/wikipedia/en",
"value" : null
}
]
}
Remember, all punctuation is urlencoded in the returned keys.
However, as Chris notes, the WPID is the more robust and stable
identifier to use when linking to Wikipedia, especially if creating a
URL link.
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080723/6a7fa984/attachment.htm
More information about the Developers
mailing list