from wikipedia title to freebase mid

Is there a way to map Wikipedia title link to Freebase mids?

For example, wikipedia titles are:

From_Russia_with_Love_(film), John_Barry_(composer), Lionel_Bart, Matt_Monro

 [{ "mid": null, "id": "/en/matt_monro" }]

It works for titles like "Matt_Monro", "Lionel_Bart", but not "from_russia_with_love_(film)" or "john_barry_(composer)"

Any suggestions please?

Answers


The correct key to use is /wikipedia/en_title/Matt_Monro. There's no guarantee that /en/matt_monro points the same place (and newer topics don't have keys in the `/en' namespace).

The Wikipedia titles which contain special characters, they need to be encoded using Freebase's key escaping scheme http://wiki.freebase.com/wiki/MQL_key_escaping For your first example, the key would be /wikipedia/en_title/From_Russia_with_Love_$0028film$0029


Need Your Help

Stumped. (C#, JSP)

c#

So long story short, the company I work for, that is all about saving money, went from 1 service application, to 2 service web interfaces.

iphone os 3.0 doc set

iphone xcode iphone-sdk-3.0 documentation

Does any one know the RSS feed for 3.0 iphone sdk doc set ?