Question: What is the official website for "The Dictator", which happened to have Barack Obama as a cast member?
Choices:
http://www.latoyaonline.com/
http://beroe.eu
http://www.officialmartine.com/
http://aimovie.warnerbros.com/
http://www.williams.edu
http://www.republicofwadiya.com/
http://www.sonypictures.com/movies/click
http://baltimore.orioles.mlb.com
http://www.portaldogoverno.gov.mz/
http://www.coritiba.com.br
Program:
function: Find
inputs: Barack Obama
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Dictator
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Dictator" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Barack Obama" .  ?e <official_website> ?pv .  }
Answer: http://www.republicofwadiya.com/