{{ searchResult.published_at | date:'d MMMM yyyy' }}

Loading ...
Loading ...

Enter a search term such as “mobile analytics” or browse our content using the filters above.

No_results

That’s not only a poor Scrabble score but we also couldn’t find any results matching “”.
Check your spelling or try broadening your search.

Logo_distressed

Sorry about this, there is a problem with our search at the moment.
Please try again later.

Here at Econsultancy, we are big fans of the Reddit AMA, where a notable business person, politician, or often a celebrity sit down to answer point blank questions from the community. Recently, Lars Rasmussen, Facebook’s Director of Engineering, did an AMA and explained Graph Search in as simple a way as possible. 

The thread, which reveals that Graph Search has been in development since Summer 2011, includes many elements a marketer can skip (including Rasmussen's experience on one of Zuckerberg's famous walks, and the "best and worst things about working at Facebook") but also the most straightforward "tech in non tech speak" explanation of Graph Search since Rasmussen was asked to explain it like he was talking to a five-year-old.

As part of the recent Reddit AMA, Rasmussen said:

At the core of the system sits a Context-Free Grammar describing all the queries the system can understand. The grammar in general contains many different ways of expressing the same question.

As a user types in the search field, a Parser attempts to find the queries from the grammar that most closely matches what the user has typed, and displays those as suggestions in a drop-down below the search field.

Part of the parsing involves searching for people and entities. For example, if I search for ‘photos of jane doe’ the parser needs to figure out which Jane Doe I am looking for. When in doubt, we tend of course to pick the Jane who has the most friends in common with me, went to my school, works for my employer, etc. This part of the parser is essentially Facebook’s existing ‘typeahead’ search system.

When the user clicks one of the suggested queries, we proceed to resolve the corresponding semantic (see my answer). There are three steps to this part: 1) we retrive (sic) candidate answers from an inverted index (http://en.wikipedia.org/wiki/Inverted_index), then we 2) filter out anything the searcher does not have access to, and finally we 3) order them according to a great many criteria in the way we think is most interesting to the searcher.

Lastly, we display the results. You’ll note that we take great care to list by each result why we think they are a good result. For example, of you ask for ‘Friends of Facebook employees’ we might place a snippet of text like ‘Friends with Mark Zuckerberg and other Facebook employees’ next to a result. ‘Other Facebook Employees’ is typically a link that we issue a new query for all the Facebook employees who are friends with that given result. (I looooove these snippets and consider them the unsung heroes of Graph Search :)


As many a Facebook member reading this blog now may remember, you used to be able to do things like sort your friends by current city within about six clicks from your profile page. The fact that this functionality has been taken away (at least for me since I haven't been put on Graph Search BETA yet) and added to a monetization strategy for Facebook, is now the future of the platform, marketers have to take note. Whether users will stick around (or bother to learning new privacy settings) after more and more of this type of thing happens is exactly what may guide the feasibility of long term engagement with this platform.

The other mechanic and trick that Facebook will have to pull off for success is convincing the world wide web that a currency of "Likes" will actually lead to something measurable on markeitng ROI. 

I am not holding my breath personally...

Editors Note: For those of you unsure what the heck this graph search is, we have a few articles to make it clearer for you:

Ryan Sommer

Published 19 February, 2013 by Ryan Sommer

Ryan Sommer is web veteran and recovering expat who contributes to Econsultancy on startups, content marketing and new media. You can connect with him on LinkedIn, follow him on Twitter, or add him to your circles on Google+

91 more posts from this author

Comments (3)

Avatar-blank-50x50

Rishi

" For example, if I search for ‘photos of jane doe’ the parser needs to figure out which Jane Doe I am looking for. When in doubt, we tend of course to pick the Jane who has the most friends in common with me, went to my school, works for my employer, etc. "

Why did Lars pick that particular example? Is this a tacit admission that Graph Search is mainly going to be used for creepy stalking?

about 3 years ago

Avatar-blank-50x50

Elan Sherbill

As one redditor noted, "... Lars has a very high expectation of a 5 year old's intelligence."

about 3 years ago

Ryan Sommer

Ryan Sommer, Freelance Consultant

Yes, his idea of adolescence certainly outpaces mine.

about 3 years ago

Comment
No-profile-pic
Save or Cancel
Daily_pulse_signup_wide

Enjoying this article?

Get more just like this, delivered to your inbox.

Keep up to date with the latest analysis, inspiration and learning from the Econsultancy blog with our free Daily Pulse newsletter. Each weekday, you ll receive a hand-picked digest of the latest and greatest articles, as well as snippets of new market data, best practice guides and trends research.