This is Bret Taylor's Graph API - the concept simplified the API a lot, and companies like Freebase copied it for their own data. Too bad it is not working...
http://blog.freebase.com/2010/04/29/a-freebase-implementatio...
The Facebook docs:
http://developers.facebook.com/docs/api
But even the cleanest API is of no use if the API calls don't actually work...
Also, does FQL work? I'm just starting to look at it for an app.