Skip to main content

Movies common for 2 actors/actresses

One question:

Which all movies did both George Clooney and Brad Pitt act in?

Am sure you would be going to google. And what do you do after that? See all the links, and check each and every page, trying to find the common movies.

Now why could the computer not do this? Why are you spending 5 minutes trying to find this out, when you should be able to request the computer to do this..... Enter Semantic search, a mechanism where you can query data for relationships which the human mind understands, and secondly the computer understands.

There are many places where they are trying to build this semantic search. I build a small application which uses freebase. And built an application where you can provide the names of 2 actors/actresses and find the movies both worked on. Check the page http://www.nlighten.in/CommonMovies.html .

Details about freebase: Freebase uses the databases provided by Wikipedia and multiple other providers, and provide all the data in OOP concepts. So you would be able to run queries (JSON queries, something similar to SQL queries), to get answers to your questions.

Please feel free to test out the app.

Points to note:

1. Semantic search does not replace google. But only helps you to find answers to questions which google may not understand.

2. I am currently querying only actors, but you if you want could query other types, such as politicians, indians, etc.etc.

Keep Searching,

Sachin

Comments

Will Moffat said…
Hi, nice example of the power of Freebase.

I'm sure you've thought of this, but including links to the films on Freebase would be neat.

Ever cooler would be to add Freebase Suggest with the type set to /film/actor This would make it much easier for the user to choose the actors.
Useless Mortal said…
Actually i had done this in half an hour due to a time crunch. Am coming up with another use case which will have the features you mentioned. Do check for a more complex example in a two weeks

Popular posts from this blog

My first problem with AJAX

I was using Callback (AJAX) to retrieve a page i had developed . Lets start all over, I was using AJAX to retrieve a part of the contents of a web page. Cool, simple, it downloaded without a pain, then I innerHTMLed it to a span tag. Worked fine, successful, clapped my hands etc.etc. Clicked on the button which had seemed to appear out of nowhere. And then, it all fell apart. The feared exclamatory symbol appeared on the status bar.... And for the newbies, thats an indication of a JavaScript error in IE. Of course, as usual i was all curses at my IE window......Anyway to make a long story short (i AM quite sleepy u know). the scripts which i seemed to be innerHTMLing to the span tag are not executed. And what i mean is anything between the script tags which have been innerHTMLed to that span tag are not executed. Of course i can see a ray of hope in the distance. I mean the distance till tomorrow morning. And just for kicks, check out a hi-fundoo flash file titled EPIC 2004 . And for...

So you have your website deployed in PROD ... now what ??

Posting on behalf of Usr.Web.Speed - My previous job had been to architect and develop websites for various customers. During that time my team and I have architected and developed various web applications mainly for enterprises. (But below info is not restricted to enterprises) Other than the usual development and testing tasks involved, our focus area was to abide by multiple SLAs. One of the primary SLAs was to provide the users of our websites a very low (usually subsecond) response time (or page load time). To adhere to this SLA, we did multiple activities, in code, process as well as infrastructure. These include (but not limit to) - Using best practices including (http://developer.yahoo.com/performance/rules.html) Determining the optimum number of calls to the databases, open connections, etc. Providing the fastest mechanisms to download associated content (such as stylesheets, JS files, etc. over CDN) And debugging the reason for the slowness of the websites, when ...