Question: What is the title of Becket (the one whose genre is biographical film)?
Choices:
Bedtime Stories
Nicholas and Alexandra
Romeo and Juliet
Battlefield Earth
Mr. Nobody
Låt den rätte komma in
Becket
A Simple Plan
Lords of Dogtown
Back to the Future
Program:
function: Find
inputs: biographical film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Becket
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Becket" . ?e <genre> ?e_1 . ?e_1 <pred:name> "biographical film" .  ?e <title> ?pv .  }
Answer: Becket