Question: What is the title of Niagara Falls (the one whose director is Roscoe Arbuckle)?
Choices: Quincy
Bangor
The Hustler
Neighbours
Gibraltar
Friends
Star Wars: Episode IV – A New Hope
Houston
Niagara Falls
Scott Pilgrim vs. the World
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Niagara Falls" . ?e <director> ?e_1 . ?e_1 <pred:name> "Roscoe Arbuckle" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Roscoe Arbuckle
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Niagara Falls
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
Answer: Niagara Falls