[Developers] Get Freebase id from Wikipedia link
Bryan Cheung
bryan.cheung at metaweb.com
Tue May 20 19:31:47 UTC 2008
Alternatively, you can use the WP ID (curid):
{
"guid" : null,
"key" : {
"namespace" : "/wikipedia/en_id",
"value" : "17316124"
}
}
Bryan
On May 20, 2008, at 12:29 PM, Brian Karlak wrote:
>
> You can do a MQL lookup on /wikipedia/en key. However, you need to
> urlescape the the punctuation in the key:
>
> {
> "guid" : null,
> "id" : "/wikipedia/en/Taz_$0028singer$0029"
> }
>
> returns:
>
> {
> "guid" : "#9202a8c04000641f80000000083b4ce6",
> "id" : "/wikipedia/en/Taz_$0028singer$0029"
> }
>
> Brian
>
> On May 20, 2008, at 12:14 PM, Vivek Puri wrote:
>
>> While it is possible to determine the url of a wikipedia article
>> for a given Freebase topic id, how do i go about the other way
>> round. Let's say i want to find the topic id in freebase for the
>> following wikipedia url: http://en.wikipedia.org/wiki/
>> Taz_(singer) . What should be the api call to do that?
>>
>> --
>> Vivek Puri
>> GTalk: vp at vivekpuri.com
>> _______________________________________________
>> Developers mailing list
>> Developers at freebase.com
>> http://lists.freebase.com/mailman/listinfo/developers
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080520/81817f1c/attachment.htm
More information about the Developers
mailing list