[Developers] Get Freebase id from Wikipedia link

Brian Karlak zenkat at metaweb.com
Tue May 20 19:29:35 UTC 2008


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080520/1cc3d6f8/attachment.htm 


More information about the Developers mailing list