Question: What is the official website of the 3D movie directed by James Cameron (the one whose Twitter username is JimCameron)?
Choices:
http://www.longbeachny.org
http://www.whowillsurvive2012.com
http://lahore.gop.pk/
http://www.suzukimusic.co.uk/omnichord/suzuki_omnichord.htm
http://movies.disney.com/porco-rosso
https://www.warnerbros.com/hangover-part-ii
http://www.dreamworks.com/ab/
http://www.vaucluse.pref.gouv.fr/
http://www.avatarmovie.com
http://www.myspace.com/haydenpanettiere
Answer: http://www.avatarmovie.com
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <director> ?e_1 . ?e_1 <pred:name> "James Cameron" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "JimCameron" . ?e <official_website> ?pv .  }
Program:
function: Find
inputs: James Cameron
function: FilterStr
dependencies: 0
inputs: Twitter username
JimCameron
function: Relate
dependencies: 1
inputs: director
backward
function: FilterConcept
dependencies: 2
inputs: 3D film
function: QueryAttr
dependencies: 3
inputs: official website