Question: What is the title of the drama film The Dictator?
Choices:
The Greatest Show on Earth
Game of Thrones
The Expendables 2
Die lustige Witwe
The Sting
Battleground
The Dictator
Monster's Ball
Piranha 3DD
Shame
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Dictator
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Dictator" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .  ?e <title> ?pv .  }
Answer: The Dictator